diff --git a/journal/2021-08-11.md b/journal/2021-08-11.md index f5aa221fb..0eb565d43 100644 --- a/journal/2021-08-11.md +++ b/journal/2021-08-11.md @@ -6,6 +6,7 @@ - [[git pull strategy]] - [[twitter analytics]] - [[cormen]] +- [[systemd]] - [[fediverse party]] - [[navigation]] - [[back link]] diff --git a/systemd.md b/systemd.md index fac7b00bd..04f42c833 100644 --- a/systemd.md +++ b/systemd.md @@ -4,4 +4,8 @@ - [[go]] https://jimsaunders.net/2017/08/03/simple-per-user-systemd.html - Scripts go in .config/systemd/user/, add an example.service file and then: - systemctl --user enable example - - systemctl --user start example \ No newline at end of file + - systemctl --user start example +- If you get any bus errors, you may need to: + - `export XDG_RUNTIME_DIR=/run/user/\`id -u\`` +- Before you can run enable above, you may need to enable lingering for the user in question. As root: + - `loginctl enable-linger username` \ No newline at end of file