mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
* Add a default systemd unit file based on the auto-generated one from SysV * modify the xcatd testcase when using systemd
18 lines
341 B
Desktop File
18 lines
341 B
Desktop File
[Unit]
|
|
Description=xCAT management service
|
|
After=network.target syslog.service
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/xcat
|
|
Type=forking
|
|
PIDFile=/var/run/xcatd.pid
|
|
ExecStart=/etc/init.d/xcatd start
|
|
ExecStop=/etc/init.d/xcatd stop
|
|
LimitNOFILE=16000
|
|
RemainAfterExit=no
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|