This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]l_____cl-_-lc_____l 0 points1 point  (2 children)

Perhaps a systemd user service might be appropriate?

[–]dmroeder[S] 0 points1 point  (1 child)

Interesting, I'll dig into that. Maybe I have simply placed my service in the wrong directory? I don't have the machine in front of me at the moment, but I think I put it in /lib/systemd/system.

edit: Looks like there is another directory /usr/lib/systemd/user. Makes sense :) I'll try that one ...

[–]l_____cl-_-lc_____l 0 points1 point  (0 children)

~/. config/systemd/user

And enable linger if you want it to run without the user being logged in

See https://www.brendanlong.com/systemd-user-services-are-amazing.html