Improve installation docs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-06-16 10:57:11 +02:00
parent 061f51447e
commit 02b32f1e83
5 changed files with 122 additions and 14 deletions

View File

@@ -4,13 +4,15 @@ After=network.target postgresql.service
[Service]
User=mobilizon
WorkingDirectory=/home/mobilizon/mobilizon
ExecStart=/usr/local/bin/mix phx.server
WorkingDirectory=/home/mobilizon/live
ExecStart=/usr/bin/env mix phx.server
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure
Environment=MIX_ENV=prod
SyslogIdentifier=mobilizon
; Some security directives.
; Use private /tmp and /var/tmp folders inside a new file system namespace, which are discarded after the process stops.
PrivateTmp=true