Aspire

安装 supervisor

发布时间:5年前热度: 4765 ℃评论数:

安装 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 5170 ℃
  2. 增强bash命令 5148 ℃
  3. 安装 supervisor 4765 ℃
  4. 性能常用命令 4710 ℃
  5. 文件权限 4396 ℃
  6. rsync 命令 3835 ℃
  7. shell解析腾讯云 3649 ℃
  8. centos文件共享 3647 ℃
  9. crontab使用 3600 ℃
  10. linux zip,tar命令 3383 ℃

手机扫码访问