forked from Spark/ssm-services
Invasive oneshot services now use spawn()
This commit is contained in:
@@ -8,7 +8,9 @@ service_args="-D -f $cfg_sshd_cfgdir/sshd_config"
|
||||
|
||||
sshd_genkeys() {
|
||||
[[ -e "/etc/ssh/ssh_host_key" ]] || { ssh-keygen -A; }
|
||||
watchman.start
|
||||
}
|
||||
|
||||
start() { sshd_genkeys; }
|
||||
start() {
|
||||
sshd_genkeys
|
||||
watchman.start
|
||||
}
|
||||
|
Reference in New Issue
Block a user