- Always run in the foreground - Always log to stdout/err (unless syslog is requested) - Update systemd to reload with a direct signal - Omit any pidfile for "warewulfd" Signed-off-by: Jonathon Anderson <janderson@ciq.com>
17 lines
320 B
SYSTEMD
17 lines
320 B
SYSTEMD
[Unit]
|
|
Description=Warewulf cluster management daemon
|
|
Documentation=https://warewulf.org/
|
|
After=network-online.target
|
|
AssertFileIsExecutable=@BINDIR@/wwctl
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=root
|
|
Group=root
|
|
ExecStart=@BINDIR@/wwctl server
|
|
ExecReload=/bin/kill -HUP "$MAINPID"
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|