diff options
author | dennis <dennis@mrslave> | 2021-03-29 12:13:40 +0200 |
---|---|---|
committer | dennis <dennis@mrslave> | 2021-03-29 12:13:40 +0200 |
commit | 96f3471cd130bc7a578068f5fc8470d436b5d05b (patch) | |
tree | 09df6ee64c37581379709bc028903ee92ed86b7b /mkosi.postinst | |
parent | making the journal more persistent. Will now use machine-id if it exists (diff) | |
download | mkosi-sonarr-master.tar.gz |
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 11 |
1 files changed, 5 insertions, 6 deletions
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 |