Initial commit

This commit is contained in:
Aram Chia Sarafian
2025-07-13 23:46:34 -07:00
commit 95dfdabebb
13 changed files with 4108 additions and 0 deletions

36
sd-park-pass-ntfy.service Normal file
View File

@ -0,0 +1,36 @@
[Unit]
Description=SD Park Pass Monitor
Documentation=https://git.null-t.org/aramcs/sd-park-pass-ntfy
After=network.target
[Service]
Type=simple
User=nobody
WorkingDirectory=/opt/sd-park-pass-ntfy
ExecStart=/usr/bin/node index.js
Restart=on-failure
RestartSec=10
KillMode=mixed
KillSignal=SIGINT
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/opt/sd-park-pass-ntfy
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
# Environment
Environment=NODE_ENV=production
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=sd-park-pass-ntfy
[Install]
WantedBy=multi-user.target