mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
7 lines
176 B
Bash
7 lines
176 B
Bash
#!/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
|