mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-13 09:56:01 +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
|