mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-19 08:01:00 +00:00
16 lines
322 B
SYSTEMD
16 lines
322 B
SYSTEMD
|
[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
|