[Unit]
Description=Warewulf cluster management daemon
Documentation=https://warewulf.org/
After=network-online.target
AssertFileIsExecutable=@BINDIR@/wwctl

[Service]
Type=simple
User=root
Group=root

ExecStart=@BINDIR@/wwctl server start
ExecReload=@BINDIR@/wwctl server reload
ExecStop=@BINDIR@/wwctl server stop

PIDFile=/var/run/warewulfd.pid
Restart=always

[Install]
WantedBy=multi-user.target
