Aspire

安装 supervisor

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

安装 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 5101 ℃
  2. 增强bash命令 5071 ℃
  3. 安装 supervisor 4693 ℃
  4. 性能常用命令 4634 ℃
  5. 文件权限 4326 ℃
  6. rsync 命令 3794 ℃
  7. shell解析腾讯云 3609 ℃
  8. centos文件共享 3608 ℃
  9. crontab使用 3562 ℃
  10. linux zip,tar命令 3343 ℃

手机扫码访问