@@ -26,7 +26,8 @@ unpackerr in one command.
2626curl -s https://golift.io/repo.sh | sudo bash -s - unpackerr
2727```
2828
29- After install, edit the config file and start the service:
29+ After install, edit the config file, or
30+ [ generate one] ( https://notifiarr.com/unpackerr.php ) and start the service:
3031
3132``` shell
3233sudo nano /etc/unpackerr/unpackerr.conf
@@ -42,20 +43,27 @@ user or group read and write access to your archives. That may mean adding the `
4243user, for example, to the ` debian-transmission ` group.
4344You would do that with a command such as ` sudo usermod -aG debian-transmission unpackerr `
4445
46+ It's only suggested you do run ` usermod ` if you know what it does and how to set a umask.
47+ You probably instead want to change the uid and/or gid as shown next.
48+
4549### Change the uid/gid
4650
4751If you wish to change the user and/or group that unpackerr runs as you need to do exactly this, ** and only this** :
4852
49- 1 . Make this folder: ` sudo mkdir -p /etc/systemd/system/unpackerr.service.d/ `
50- 1 . Make this file: ` sudo touch /etc/systemd/system/unpackerr.service.d/override.conf `
53+ 1 . Make this folder:
54+ - ` sudo mkdir -p /etc/systemd/system/unpackerr.service.d/ `
55+ 1 . Make this file:
56+ - ` sudo touch /etc/systemd/system/unpackerr.service.d/override.conf `
51571 . Add the following content to the file. Replace ` newuser ` and ` newgroup ` with your new values.
5258 ``` systemd
5359 [Service]
5460 User=newuser
5561 Group=newgroup
5662 ```
57- 1 . Run ` sudo systemctl daemon-reload ` to re-read this new config file.
58- 1 . Run ` sudo systemctl restart unpackerr ` to start unpackerr with the new ID(s).
63+ 1 . Run this to read the new systemd service override file:
64+ - ` sudo systemctl daemon-reload `
65+ 1 . Run this to start unpackerr with the new user and group:
66+ - ` sudo systemctl restart unpackerr `
5967
6068---
6169
0 commit comments