2021-01-25 21:15:47 -06:00
|
|
|
# vim:ft=systemd
|
|
|
|
[Unit]
|
|
|
|
Description=Pleroma social network %i
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=pleroma
|
2021-01-26 02:26:22 -06:00
|
|
|
Environment="HOME={{ pleroma_home }}"
|
|
|
|
WorkingDirectory={{ pleroma_home }}
|
2021-01-25 21:15:47 -06:00
|
|
|
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
|
|
|
|
2021-01-26 02:26:22 -06:00
|
|
|
ExecStart={{ pleroma_home }}/bin/pleroma start
|
|
|
|
ExecStop={{ pleroma_home }}/bin/pleroma stop
|
2021-01-25 21:15:47 -06:00
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectSystem=full
|
|
|
|
PrivateDevice=false
|
|
|
|
NoNewPrivileges=true
|
|
|
|
CapabilityBoundingSet=~CAP_SYS_ADMIN
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|