forked from Spark/ssm-services
pidfiles are evil
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
cfg_sshd_cfgdir='/etc/ssh'
|
||||
|
||||
service_respawn=true
|
||||
service_command='/bin/sshd'
|
||||
service_args="-f $cfg_sshd_cfgdir/sshd_config"
|
||||
service_pidfile='/run/sshd.pid'
|
||||
service_args="-D -f $cfg_sshd_cfgdir/sshd_config"
|
||||
|
||||
sshd_genkeys() {
|
||||
[[ -e "/etc/ssh/ssh_host_key" ]] || { ssh-keygen -A; }
|
||||
|
Reference in New Issue
Block a user