From 0986bbc7405d11d15a0c9fb0670995849dd0530b Mon Sep 17 00:00:00 2001 From: dennis Date: Sat, 19 Oct 2019 23:07:48 +0200 Subject: initial commit --- .../system/multi-user.target.wants/sonarr.service | 1 + mkosi.skeleton/etc/systemd/system/sonarr.service | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 120000 mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sonarr.service create mode 100644 mkosi.skeleton/etc/systemd/system/sonarr.service (limited to 'mkosi.skeleton/etc') diff --git a/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sonarr.service b/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sonarr.service new file mode 120000 index 0000000..c518c7e --- /dev/null +++ b/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sonarr.service @@ -0,0 +1 @@ +../sonarr.service \ No newline at end of file diff --git a/mkosi.skeleton/etc/systemd/system/sonarr.service b/mkosi.skeleton/etc/systemd/system/sonarr.service new file mode 100644 index 0000000..86b461b --- /dev/null +++ b/mkosi.skeleton/etc/systemd/system/sonarr.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 -- cgit v1.2.3