parent
a0ce2d7cdf
commit
c63186a798
@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# In case this system is running systemd, we make systemd reload the unit files
|
||||
# to pick up changes.
|
||||
if [ -d /run/systemd/system ] ; then
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
fi
|
||||
# End automatically added section
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
if [ -f /proc/1/comm ] && [ "`cat /proc/1/comm`" = "systemd" ]; then
|
||||
rm -f /etc/init.d/sonarr
|
||||
systemctl stop sonarr.service
|
||||
systemctl disable sonarr.service
|
||||
fi
|
Loading…
Reference in new issue