From 3d9d70e497083a06f0abec5b2f4ee778032bc6ba Mon Sep 17 00:00:00 2001 From: dennis Date: Fri, 17 Apr 2020 10:42:44 +0200 Subject: exchanging apt with apt-get for better script-compatability --- .../system/multi-user.target.wants/sonarr.service | 1 - mkosi.extra/etc/systemd/system/radarr.service | 17 +++++++++++++++++ mkosi.extra/etc/systemd/system/sonarr.service | 17 ----------------- 3 files changed, 17 insertions(+), 18 deletions(-) delete mode 120000 mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service create mode 100644 mkosi.extra/etc/systemd/system/radarr.service delete mode 100644 mkosi.extra/etc/systemd/system/sonarr.service (limited to 'mkosi.extra/etc/systemd') diff --git a/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service b/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service deleted file mode 120000 index c518c7e..0000000 --- a/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service +++ /dev/null @@ -1 +0,0 @@ -../sonarr.service \ No newline at end of file diff --git a/mkosi.extra/etc/systemd/system/radarr.service b/mkosi.extra/etc/systemd/system/radarr.service new file mode 100644 index 0000000..86b461b --- /dev/null +++ b/mkosi.extra/etc/systemd/system/radarr.service @@ -0,0 +1,17 @@ +[Unit] +Description=Sonarr Daemon +After=network.target + +[Service] +User=warez +Group=warez +Umask=022 + +Type=simple +ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/config +TimeoutStopSec=20 +KillMode=process +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/mkosi.extra/etc/systemd/system/sonarr.service b/mkosi.extra/etc/systemd/system/sonarr.service deleted file mode 100644 index 86b461b..0000000 --- a/mkosi.extra/etc/systemd/system/sonarr.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Sonarr Daemon -After=network.target - -[Service] -User=warez -Group=warez -Umask=022 - -Type=simple -ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/config -TimeoutStopSec=20 -KillMode=process -Restart=on-failure - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3