Add runit config files

Closes #657

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-29 13:41:55 +02:00
parent 7df18577e7
commit 9d15e442af
9 changed files with 53 additions and 0 deletions

17
support/runit/README.md Normal file
View File

@@ -0,0 +1,17 @@
## runit config files
These are the config files to run _Mobilizon_ under `runit` supervisor.
The `user` directory contains the configs for running it completely under a
user, with full supervisory control. It requires the system to start
`runsvdir` in user mode so the dæmon can be handled as the user as
- `sv start ~/sv/mobilizon`
- `sv stop ~/sv/mobilizon`
This method is good when you are not root, or it's not simple to switch.
The `system_wide` directory contains the config to administer by root user,
if you can access root easily.