Remove obsolete init script

The baseline is EL7, and systemd is assumed.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc43996e8b23007876ee8fa0d7dcf8478b217aa0
pull/8329/head
Andras Timar 2024-02-22 15:16:06 +01:00 committed by Caolán McNamara
parent 170a9aaf65
commit 5288efbe91
2 changed files with 0 additions and 50 deletions

View File

@ -396,7 +396,6 @@ dist-hook:
EXTRA_DIST = discovery.xml \
favicon.ico \
coolkitconfig.xcu \
coolwsd.init.rhel6 \
coolwsd.spec \
coolwsd.xml.in \
coolwsd.service \

View File

@ -1,49 +0,0 @@
#!/bin/bash
#
# chkconfig: 35 90 12
# description: coolwsd server
#
# Get function from functions library
. /etc/init.d/functions
# Start the service coolwsd
start() {
echo -n $"Starting coolwsd server: "
su cool -c "/usr/bin/coolwsd --version --o:logging.file[@enable]=true" &
### Create the lock file ###
touch /var/lock/subsys/coolwsd
success $"coolwsd server startup"
echo
}
# Stop the service coolwsd
stop() {
echo -n $"Stopping coolwsd server: "
killproc coolwsd
### Now, delete the lock file ###
rm -f /var/lock/subsys/coolwsd
echo
}
### main logic ###
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status coolwsd
;;
restart|reload|condrestart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status}"
exit 1
esac
exit 0