2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

Fix legacy PIDFile location

Fixes error:
/usr/lib/systemd/system/xcatd.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/xcatd.pid → /run/xcatd.pid; please update the unit file accordingly.
This commit is contained in:
Markus Hilger
2022-09-30 14:17:39 +02:00
parent 544835a841
commit b588c27005

View File

@@ -5,7 +5,7 @@ After=network.target syslog.service
[Service]
EnvironmentFile=-/etc/sysconfig/xcat
Type=forking
PIDFile=/var/run/xcatd.pid
PIDFile=/run/xcatd.pid
ExecStart=/etc/init.d/xcatd start
ExecStop=/etc/init.d/xcatd stop
LimitNOFILE=16000