Use forking systemd service

This commit is contained in:
Brian Clemens
2021-03-05 23:50:57 +09:00
parent da192d95b6
commit 3283f4de58

View File

@@ -5,10 +5,12 @@ After=network-online.target
AssertFileIsExecutable=/usr/bin/wwctl
[Service]
Type=forking
User=root
Group=warewulf
ExecStart=/usr/bin/wwctl server start --foreground
ExecStart=/usr/bin/wwctl server start
PIDFile=/tmp/warewulfd.pid
Restart=always
[Install]