From 96f3471cd130bc7a578068f5fc8470d436b5d05b Mon Sep 17 00:00:00 2001 From: dennis Date: Mon, 29 Mar 2021 12:13:40 +0200 Subject: Sonarr 3.0, and new mountpoints --- mkosi.postinst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index 4c77109..dda2f81 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -20,13 +20,12 @@ echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" > /et # sonarr apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493 -echo "deb http://apt.sonarr.tv/ master main" > /etc/apt/sources.list.d/sonarr.list +echo "deb http://apt.sonarr.tv/ubuntu focal main" > /etc/apt/sources.list.d/sonarr.list apt-get update -apt-get install --yes nzbdrone +groupadd --system --gid 997 sonarr +useradd --system --gid sonarr --uid 997 --home-dir /var/lib/sonarr --create-home sonarr -groupadd --system --gid 997 warez -useradd --system --gid warez --uid 997 --home-dir /opt/NzbDrone warez - -chown -R warez: /opt/NzbDrone +apt-get install --yes sonarr +systemctl enable sonarr -- cgit v1.2.3