mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
|
#!/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
|