mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-05 06:51:53 +00:00
7 lines
176 B
Text
7 lines
176 B
Text
|
#!/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
|