Files
warewulf/include/systemd/warewulfd.service.in
Jonathon Anderson 983214f253 Simplify wwctl server
- 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>
2024-10-31 14:52:47 -06:00

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