1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-23 19:23:31 +01:00
1 Specifying install user on Deb Ubu
flying-sausages edited this page 2020-06-29 23:28:29 +01:00

The Sonarr v3 apt-based installation has an interactive prompt for specifying the user and group that sonarr should be run under.

If you want to use a different user other than sonarr and want to install the package in a non-interactive way, you can set the "answers" to the "questions" using the debconf-set-selections command.

And example is show below.

user="whoever"
echo "sonarr sonarr/owning_user  string ${user}" | debconf-set-selections
echo "sonarr sonarr/owning_group string ${user}" | debconf-set-selections
DEBIAN_FRONTEND=non-interactive apt-get install -yq sonarr