Repository navigation
Debian Linux Permissions Help #1824
|
Okay, I'm not a linux daemon expert by any means, so I'm sure I'm missing something obvious, but I cannot for the life of me get tunarr to run as a background service on debian. I'm not using docker containers, and I set it up following the instructions on the docs for standalone binaries. I set up a user/group, made sure owners and permissions all match, but even if I make everything root with the most permissive permissions, it fails with error status 126 when I try and run it as a background service. If I sudo run it directly from inside the /opt/tunarr folder it works fine, but it just wont act as a background service no matter what I set everything as. I would love some more info about what's going on inside or if there's additional permissions or files somewhere I'm missing. Or if someone can give me a more detailed/specific guide of recommended permissions for each file/location and what the user setup/permissions should be. I'm kind of pulling my hair out and I've been reading so much about how the service daemon works and cannot figure out the issue. Specifics to hopefully help: Also I'm working with Tunarr 1.2.11 |
Replies: 1 comment
|
I joined the discord and found some pieces. Apparently it really requires the user/group to be for the current user. One thing I forgot to mention but I had done was move the service file to /etc/systemd/system/tunarr.service though the specific subfolder may vary by distro. Additionally, what I was missing was in ExecStart, which should be:
AKA remove the bash part. Leaving these notes here to help whoever else needs them. |
I joined the discord and found some pieces. Apparently it really requires the user/group to be for the current user. One thing I forgot to mention but I had done was move the service file to /etc/systemd/system/tunarr.service though the specific subfolder may vary by distro.
Additionally, what I was missing was in ExecStart, which should be:
ExecStart=/opt/tunarr/tunarr-linux-x64AKA remove the bash part. Leaving these notes here to help whoever else needs them.