mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-27 17:55:15 +02:00
![Mikhail Gusarov](/assets/img/avatar_default.png)
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#
|