mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 03:13:13 +00:00
17 lines
344 B
SYSTEMD
17 lines
344 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
|
||
|
Alias=pleroma.service
|