diff options
author | Henry Jameson <me@hjkos.com> | 2017-08-08 02:41:36 +0300 |
---|---|---|
committer | Henry Jameson <me@hjkos.com> | 2017-08-08 02:41:36 +0300 |
commit | 9112eda14ffa203eeca1d129d6739840f684569d (patch) | |
tree | f6988f0f3bd883f411db2f7e761d76db8377f000 /installation/pleroma.service | |
parent | 763756f8790809d593c34dc78196d241d230658a (diff) | |
download | pleroma-9112eda14ffa203eeca1d129d6739840f684569d.tar.gz pleroma-9112eda14ffa203eeca1d129d6739840f684569d.zip |
First attempt at installation documentation
Diffstat (limited to 'installation/pleroma.service')
-rw-r--r-- | installation/pleroma.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/installation/pleroma.service b/installation/pleroma.service new file mode 100644 index 000000000..fe314ed2b --- /dev/null +++ b/installation/pleroma.service @@ -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 |