removed legacy start of wwclient, added to systemd

This commit is contained in:
Christian Goll
2021-11-15 11:24:20 +01:00
parent 5abb1fc4c7
commit 2207ef84d9
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1 @@
/etc/systemd/system/wwclient.service

View File

@@ -1,6 +1,7 @@
#!/bin/sh
. /warewulf/config
# Only start if the systemd is no available
test -e /usr/lib/systemd/systemd && exit 0
echo "Starting wwclient"
nohup /warewulf/bin/wwclient >/var/log/wwclient.log 2>&1 </dev/null &