[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=always PrivateTmp=true ProtectHome=true ProtectSystem=full CapabilityBoundingSet=~CAP_SYS_ADMIN [Install] WantedBy=multi-user.target