mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 13:45:02 +00:00
6 lines
176 B
Bash
6 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
|