ansible/roles/pleroma/templates/pleroma.service
Salt 54a8e4aa2d Add Pleroma
GOD THAT SUCKED
FUCK
GOD I HATE ELIXR
2020-07-28 10:41:07 -05:00

27 lines
473 B
Desktop File

# vim:ft=systemd
[Unit]
Description=Pleroma social network
After=network.target postgresql.service
[Service]
User=pleroma
Environment="HOME=/opt/pleroma"
WorkingDirectory=/opt/pleroma
KillMode=process
Restart=on-failure
ExecStart=/opt/pleroma/bin/pleroma start
ExecStop=/opt/pleroma/bin/pleroma stop
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
PrivateDevice=false
NoNewPrivileges=true
CapabilityBoundingSet=~CAP_SYS_ADMIN
[Install]
WantedBy=multi-user.target