wwclient uses WW_IPADDR, if set, to contact the Warewulf server.
- Closes: #1788 Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -57,5 +57,6 @@ Filename: warewulf/init.d/80-wwclient
|
||||
# Only start if the systemd is not available
|
||||
test -e /usr/lib/systemd/systemd && exit 0
|
||||
echo "Starting wwclient"
|
||||
if [ -r /etc/default/wwclient ]; then . /etc/default/wwclient; fi
|
||||
nohup /warewulf/wwclient >/var/log/wwclient.log 2>&1 </dev/null &
|
||||
`
|
||||
|
||||
@@ -5,6 +5,7 @@ After=local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
EnvironmentFile=-/etc/default/wwclient
|
||||
ExecStart=/warewulf/wwclient
|
||||
ExecReload=/bin/kill -s SIGHUP "$MAINPID"
|
||||
PIDFile=/var/run/wwclient.pid
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
# Only start if the systemd is not available
|
||||
test -e /usr/lib/systemd/systemd && exit 0
|
||||
echo "Starting wwclient"
|
||||
if [ -r /etc/default/wwclient ]; then . /etc/default/wwclient; fi
|
||||
nohup {{ .Paths.WWClientdir }}/wwclient >/var/log/wwclient.log 2>&1 </dev/null &
|
||||
|
||||
Reference in New Issue
Block a user