[Unit]
Description=Firefrost Arbiter - Discord Role Management System
After=network.target

[Service]
Type=simple
User=architect
WorkingDirectory=/home/architect/arbiter
ExecStart=/usr/bin/node src/index.js
Restart=on-failure
RestartSec=10
EnvironmentFile=/home/architect/arbiter/.env

# Security
NoNewPrivileges=true
PrivateTmp=true

# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=arbiter

[Install]
WantedBy=multi-user.target
