Franziska Kunsmann
f8c157ce50
All checks were successful
bundlewrap/pipeline/head This commit looks good
23 lines
546 B
Desktop File
23 lines
546 B
Desktop File
[Unit]
|
|
Description=Pleroma social network
|
|
After=network.target
|
|
Requires=postgresql.service
|
|
|
|
[Service]
|
|
User=pleroma
|
|
WorkingDirectory=/opt/pleroma
|
|
Environment="HOME=/opt/pleroma"
|
|
Environment="PLEROMA_CONFIG_PATH=/opt/pleroma/pleroma.config.exs"
|
|
Environment="PLUG_TMPDIR=/tmp/pleroma"
|
|
ExecStart=/opt/pleroma/release/bin/pleroma start
|
|
ExecStop=/opt/pleroma/release/bin/pleroma stop
|
|
Restart=on-failure
|
|
|
|
PrivateTmp=true
|
|
ProtectHome=true
|
|
ProtectSystem=full
|
|
NoNewPrivileges=true
|
|
CapabilityBoundingSet=~CAP_SYS_ADMIN
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|