Invasive oneshot services now use spawn()

This commit is contained in:
2014-07-28 07:52:32 +04:00
parent 902f317440
commit 8e225fa577
13 changed files with 23 additions and 18 deletions

View File

@@ -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
}