Skip to content

Repository files, collaboration, releases and project activity.

archforge-external-status / scripts/archforge-status.servicemain
▤ scripts/archforge-status.service784 bytes
33 lines · Select a line number for a permalink
1[Unit]
2Description=ArchForge Independent External Status
3Documentation=https://status.archforge.nl
4Wants=network-online.target
5After=network-online.target
7[Service]
8Type=simple
9User=archforge-status
10Group=archforge-status
11WorkingDirectory=/opt/archforge-status/app
12ExecStart=/usr/bin/node /opt/archforge-status/app/src/server.js
13Environment=NODE_ENV=production
14Environment=STATUS_ENV_FILE=/etc/archforge-status/status.env
15Restart=on-failure
16RestartSec=10
17TimeoutStopSec=20
18NoNewPrivileges=true
19PrivateTmp=true
20ProtectSystem=strict
21ProtectHome=true
22ProtectKernelTunables=true
23ProtectKernelModules=true
24ProtectControlGroups=true
25RestrictSUIDSGID=true
26LockPersonality=true
27CapabilityBoundingSet=
28ReadWritePaths=/var/lib/archforge-status
29UMask=0027
31[Install]
32WantedBy=multi-user.target