loginctl enable-linger usernameexport XDG_RUNTIME_DIR=/run/user/\id -u“.config/systemd/user/, add an example.service file and then: systemctl --user start examplesystemctl --user enable exampleagora-server.service in [[go/agora-server]] as an example.%h for it. ~, $HOME won’t work.Suddenly systemctl --user status agora-bot mastodon replies:
Warning: Journal has been rotated since unit was started. Log output is incompl
A tech-minded confession: literally years after starting to use [[systemd]] I’ve finally found the right incantation to be able to see logs for a service beyond what [[systemctl]] shows (truncated).
In the case of user services (which the Agora runs on), it’s:
`journalctl —user-unit <service>`
There’s several other flags which sound promising at first but don’t work, like -u.
@enkiv2 I thought you might be interested :)
https://anagora.org/system2 thanks for your contribution — I got here through [[systemd]] of all places ;)
Expanding this section will automatically generate an AI synthesis of the contributions in this node.
Rendering context...