Need to be able to init on any distro.
The current supervisor.d configs are configured specifically for a particular supervisor version / installation. This decouples the configuration so we can use it on any distro.
This commit is contained in:
14
overlay/etc/supervisor.d/sshd.ini
Normal file
14
overlay/etc/supervisor.d/sshd.ini
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
[program:sshd]
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
user=root
|
||||
command=/usr/sbin/sshd -Ddp 2222
|
||||
stopsignal=QUIT
|
||||
stdout_logfile=/var/log/supervisor/sshd.log
|
||||
stdout_logfile_maxbytes=10MB
|
||||
stdout_logfile_backups=7
|
||||
stderr_logfile=/var/log/supervisor/sshd.err.log
|
||||
stderr_logfile_maxbytes=10MB
|
||||
stderr_logfile_backups=7
|
||||
Reference in New Issue
Block a user