From 7270e3bb33985e65ad799150b952cdfadefcaf03 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 3 Jan 2019 13:59:58 +0100 Subject: [PATCH] Remove mxstartup-mxvip service This is not needed as a service, because mxstartupctl from mxstartup-classic.service calls `mxvipctl start` by itself. Remove this service. --- Makefile | 1 - mxstartup-classic.service | 4 ++-- mxstartup-mxvip.service | 15 --------------- 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 mxstartup-mxvip.service diff --git a/Makefile b/Makefile index 16dad41..5ed21a1 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,6 @@ all: install: mkdir -p -m 0755 ${DESTDIR}${SYSTEMDSYSTEMDIR} - install -m 0644 mxstartup-mxvip.service ${DESTDIR}${SYSTEMDSYSTEMDIR} install -m 0644 mxstartup-classic.service ${DESTDIR}${SYSTEMDSYSTEMDIR} mkdir -p -m 0755 ${DESTDIR}${SBINDIR} install -m 0755 mxstartup2mxconfig ${DESTDIR}${SBINDIR} diff --git a/mxstartup-classic.service b/mxstartup-classic.service index 827854d..65d67f6 100644 --- a/mxstartup-classic.service +++ b/mxstartup-classic.service @@ -1,7 +1,7 @@ [Unit] Description=Mariux mxstartup classic -After=mxstartup-mxvip.service mxmount.service nis.service -Requires=mxstartup-mxvip.service mxmount.service +After=mxmount.service nis.service +Requires=mxmount.service [Service] Type=oneshot diff --git a/mxstartup-mxvip.service b/mxstartup-mxvip.service deleted file mode 100644 index 0ccd23e..0000000 --- a/mxstartup-mxvip.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Mariux Virtual IP and Forwarding -ConditionPathExists=/etc/mxstartups -Requires=network.target mxmount.service -After=network.target mxmount.service - -[Service] -Type=oneshot -ExecStart=/usr/sbin/mxvipctl start -ExecStop=/usr/sbin/mxvipctl stop -RemainAfterExit=yes -StandardOutput=syslog - -[Install] -WantedBy=multi-user.target