mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 23:16:21 +00:00
Default commit message, part of an automated flow.
This commit is contained in:
@@ -14,3 +14,4 @@
|
|||||||
- had to set:
|
- had to set:
|
||||||
- `"protocolUseSSL": true`
|
- `"protocolUseSSL": true`
|
||||||
- `"allowFreeURL": true`
|
- `"allowFreeURL": true`
|
||||||
|
- [[systemd]]
|
||||||
|
|||||||
+11
-9
@@ -1,11 +1,13 @@
|
|||||||
# Systemd
|
# Systemd
|
||||||
|
|
||||||
- How to keep a user process running:
|
- I run all [[agora]] services as systemd user services.
|
||||||
- [[go]] https://jimsaunders.net/2017/08/03/simple-per-user-systemd.html
|
- How to keep a user process running:
|
||||||
- Scripts go in `.config/systemd/user/`, add an example.service file and then:
|
- [[go]] https://jimsaunders.net/2017/08/03/simple-per-user-systemd.html
|
||||||
- `systemctl --user start example`
|
- Before you can run enable (making it sticky across reboots) above, you'll probably need to enable lingering for the user in question. As root (ask your friendly sysadmin if you somehow don't have root):
|
||||||
- `systemctl --user enable example`
|
- `loginctl enable-linger username`
|
||||||
- Before you can run enable above, you may need to enable lingering for the user in question. As root:
|
- If you get any bus errors, you may need to:
|
||||||
- `loginctl enable-linger username`
|
- `export XDG_RUNTIME_DIR=/run/user/\`id -u\``
|
||||||
- If you get any bus errors, you may need to:
|
- Scripts go in `.config/systemd/user/`, add an example.service file and then:
|
||||||
- `export XDG_RUNTIME_DIR=/run/user/\`id -u\``
|
- `systemctl --user start example`
|
||||||
|
- `systemctl --user enable example`
|
||||||
|
- See `agora-server.service` in [[go/agora-server]] as an example.
|
||||||
|
|||||||
Reference in New Issue
Block a user