2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00
Files
xcat-core/xCAT-server/etc/init.d/xcatd.service
Markus Hilger b588c27005 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.
2022-09-30 14:42:14 +02:00

19 lines
357 B
Desktop File

[Unit]
Description=xCAT management service
After=network.target syslog.service
[Service]
EnvironmentFile=-/etc/sysconfig/xcat
Type=forking
PIDFile=/run/xcatd.pid
ExecStart=/etc/init.d/xcatd start
ExecStop=/etc/init.d/xcatd stop
LimitNOFILE=16000
RemainAfterExit=no
Restart=on-failure
RestartSec=5s
TimeoutStartSec=600
[Install]
WantedBy=multi-user.target