Default commit message, part of an automated flow.

This commit is contained in:
2021-08-18 18:14:01 +02:00
parent 5e7c92f666
commit e942e3eb29
2 changed files with 12 additions and 9 deletions
+1
View File
@@ -14,3 +14,4 @@
- had to set: - had to set:
- `"protocolUseSSL": true` - `"protocolUseSSL": true`
- `"allowFreeURL": true` - `"allowFreeURL": true`
- [[systemd]]
+6 -4
View File
@@ -1,11 +1,13 @@
# Systemd # Systemd
- I run all [[agora]] services as systemd user services.
- How to keep a user process running: - How to keep a user process running:
- [[go]] https://jimsaunders.net/2017/08/03/simple-per-user-systemd.html - [[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: - 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 start example`
- `systemctl --user enable example`
- Before you can run enable above, you may need to enable lingering for the user in question. As root:
- `loginctl enable-linger username` - `loginctl enable-linger username`
- If you get any bus errors, you may need to: - If you get any bus errors, you may need to:
- `export XDG_RUNTIME_DIR=/run/user/\`id -u\`` - `export XDG_RUNTIME_DIR=/run/user/\`id -u\``
- Scripts go in `.config/systemd/user/`, add an example.service file and then:
- `systemctl --user start example`
- `systemctl --user enable example`
- See `agora-server.service` in [[go/agora-server]] as an example.