mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-02-02 21:21:47 +00:00
- rename generic.in and notifyd.in to corosync.in and corosync-notifyd.in (makes build simpler) - fix sysvinit corosync.in sleep time to include a check for when IPC are ready and drop cman bits (there is no cman with corosync 2.0) - corosync-notifyd.service should always start after corosync.service - corosync.service should always start after network - corosync.service uses init script wrapper - install/ship sysvinit as wrappers for systemd in /usr/share/corosync when necessary - change the build system to deal with all of the above Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by: Jan Friesse <jfriesse@redhat.com>
14 lines
272 B
SYSTEMD
14 lines
272 B
SYSTEMD
[Unit]
|
|
Description=Corosync Cluster Engine
|
|
ConditionKernelCommandLine=!nocluster
|
|
Requires=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=@INITWRAPPERSDIR@/corosync start
|
|
ExecStop=@INITWRAPPERSDIR@/corosync stop
|
|
Type=forking
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|