]> git.proxmox.com Git - corosync-pve.git/blob - debian/corosync.service
fix service dependencies
[corosync-pve.git] / debian / corosync.service
1 [Unit]
2 Description=Corosync Cluster Engine
3 ConditionKernelCommandLine=!nocluster
4 ConditionPathExists=/etc/corosync/corosync.conf
5 Requires=network-online.target
6 After=network-online.target
7 DefaultDependencies=no
8 Before=shutdown.target
9 Conflicts=shutdown.target
10
11 [Service]
12 ExecStart=/usr/share/corosync/corosync start
13 ExecStop=/usr/share/corosync/corosync stop
14 Type=forking
15
16 [Install]
17 WantedBy=multi-user.target