First attempt at installation documentation

This commit is contained in:
Henry Jameson 2017-08-08 02:41:36 +03:00
commit 9112eda14f
3 changed files with 111 additions and 5 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Pleroma social network
After=network.target postgresql.service
[Service]
User=pleroma
WorkingDirectory=/home/pleroma/pleroma
Environment="HOME=/home/pleroma"
ExecStart=/usr/local/bin/mix phx.server
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=pleroma.service