Sonarr version (exact version): 3.0.6
Mono version (if Sonarr is not running on Windows): 4.0
OS: Ubuntu 20.04
Description of issue:
When I run; dpkg-reconfigure sonarr
the systemd file at /lib/systemd/system/sonarr.service
is changed accordingly for user and group
However, when trying to run it non-interactively with;
sudo DEBIAN_FRONTEND=noninteractive apt install sonarr mediainfo -y
Then;
cat << EOF | sudo debconf-set-selections
sonarr sonarr/owning_group string chris
sonarr sonarr/owning_user string chris
EOF
and restarting the service with;
sudo systemctl daemon-reload
the file at;
/lib/systemd/system/sonarr.service
is does not change the user and group
As I am trying to script this, I really need to able to set it non-interactively and change the systmd file accordingly
Anything I can do without manually changing the file at;
/lib/systemd/system/sonarr.service
or running;
sudo dpkg-reconfigure sonarr
as I don’t want the whiptail menu and interactive input