fedimovies/contrib/mitra.service
2022-04-30 16:04:01 +00:00

20 lines
374 B
Desktop File

[Unit]
Description=Mitra Server
After=postgresql.service
Requires=postgresql.service
[Service]
ExecStart=/usr/bin/mitra
WorkingDirectory=/var/lib/mitra
Environment="ENVIRONMENT=production"
Environment="CONFIG_PATH=/etc/mitra/config.yaml"
User=mitra
Group=mitra
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target