]> git.proxmox.com Git - pve-cluster.git/blame - debian/pve-cluster.service
fix 'PIDFile= references path below legacy directory /var/run/' warning
[pve-cluster.git] / debian / pve-cluster.service
CommitLineData
298656c8
DM
1[Unit]
2Description=The Proxmox VE cluster filesystem
3ConditionFileIsExecutable=/usr/bin/pmxcfs
4Wants=corosync.service
c1f49f4f 5Wants=rrdcached.service
298656c8 6Before=corosync.service
696fddae 7Before=ceph.service
10c5c228 8Before=cron.service
298656c8
DM
9After=network.target
10After=sys-fs-fuse-connections.mount
2c7182b7 11After=time-sync.target
c1f49f4f 12After=rrdcached.service
9002bedd
DM
13DefaultDependencies=no
14Before=shutdown.target
15Conflicts=shutdown.target
298656c8
DM
16
17[Service]
553efa68 18ExecStart=/usr/bin/pmxcfs
298656c8
DM
19ExecStartPost=-/usr/bin/pvecm updatecerts --silent
20KillMode=mixed
e997e998 21Restart=on-failure
298656c8
DM
22TimeoutStopSec=10
23Type=forking
50bf398b 24PIDFile=/run/pve-cluster.pid
298656c8
DM
25
26[Install]
27WantedBy=multi-user.target