initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=zeitkort web-only proof of concept
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=zeitkort
|
||||
Group=zeitkort
|
||||
WorkingDirectory=/opt/zeitkort-web
|
||||
ExecStart=/opt/zeitkort-web/zeitkort-web -config /opt/zeitkort-web/config.json
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
# Hardening
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user