Stashing my work
This commit is contained in:
26
templates/pleroma.service
Normal file
26
templates/pleroma.service
Normal file
@@ -0,0 +1,26 @@
|
||||
# vim:ft=systemd
|
||||
[Unit]
|
||||
Description=Pleroma social network %i
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=pleroma
|
||||
Environment="HOME={{ pleroma_home }}/%i}"
|
||||
WorkingDirectory={{ pleroma_home }}/%i
|
||||
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
|
||||
ExecStart={{ pleroma_home }}/%i/bin/pleroma start
|
||||
ExecStop={{ pleroma_home }}/%i/bin/pleroma stop
|
||||
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=full
|
||||
PrivateDevice=false
|
||||
NoNewPrivileges=true
|
||||
CapabilityBoundingSet=~CAP_SYS_ADMIN
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user