Previous commits set the wrong service Type

This commit is contained in:
Christian Goll
2021-12-06 16:59:41 +01:00
parent 404490b756
commit e1c11a3944
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ After=network-online.target
AssertFileIsExecutable=@BINDIR@/wwctl AssertFileIsExecutable=@BINDIR@/wwctl
[Service] [Service]
Type=notify Type=simple
User=root User=root
Group=root Group=root

View File

@@ -4,11 +4,11 @@ After=network.target
After=local-fs.target After=local-fs.target
[Service] [Service]
Type=simple Type=notify
ExecStart=/warewulf/bin/wwclient ExecStart=/warewulf/bin/wwclient
ExecReload=/bin/kill -s SIGHUP "$MAINPID" ExecReload=/bin/kill -s SIGHUP "$MAINPID"
PIDFile=/var/run/wwclient.pid PIDFile=/var/run/wwclient.pid
TimeoutSec=5 TimeoutSec=60
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target