Aspire

安装 supervisor

发布时间:4年前热度: 4347 ℃评论数:

安装 supervisor

apt-get install supervisor

配置守护

vi /etc/supervisor/conf.d/syncthing.conf

填入以下内容

[program:syncthing]

command = /bin/syncthing -no-browser -home="/root/.config/syncthing"

directory = /root

autorestart = True user = root environment = STNORESTART="1", HOME="/root"

重启进程

supervisorctl reload


启动

supervisorctl start syncthing

重启

supervisorctl restart syncthing

停止

supervisorctl stop syncthing


源码安装、技术讨论、二次开发等联系微信:

error

栏目导航

  1. PHP
  2. Go
  3. Mysql
  4. Linux
  5. 前端
  6. 杂谈

相关文章

  1. git 使用 ssh 4744 ℃
  2. 增强bash命令 4713 ℃
  3. 安装 supervisor 4347 ℃
  4. 性能常用命令 4294 ℃
  5. 文件权限 3962 ℃
  6. rsync 命令 3642 ℃
  7. centos文件共享 3530 ℃
  8. shell解析腾讯云 3528 ℃
  9. crontab使用 3409 ℃
  10. linux zip,tar命令 3274 ℃

手机扫码访问