mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-13 23:56:50 +02:00
e10ddbdaef
If there is a backward compatibility sysvinit script, then even socket-activated services are started automatically after install/upgrade.
9 lines
140 B
Bash
9 lines
140 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -x /etc/init.d/rspamd ] && ! [ -d /run/systemd/system ]; then
|
|
invoke-rc.d rspamd stop || exit $?
|
|
fi
|
|
|
|
#DEBHELPER#
|