25 lines
679 B
Desktop File
25 lines
679 B
Desktop File
[Unit]
|
|
Description=Beszel alerts to the althing infra-ops inbox
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
User=lkraven
|
|
Group=lkraven
|
|
Environment=PYTHONUNBUFFERED=1
|
|
Environment=ALTHING_HANDLE=infra-ops
|
|
Environment=ALTHING_POST_OFFICE=http://10.100.50.40:8390
|
|
Environment=POSTBOX=/home/lkraven/.local/bin/postbox
|
|
Environment=BESZEL_ALERT_RECIPIENT=infra-ops
|
|
Environment=BESZEL_BIND_HOST=10.100.10.50
|
|
Environment=BESZEL_ALLOWED_SOURCES=10.250.50.70,10.100.10.50,127.0.0.1
|
|
ExecStart=/usr/bin/python3 /opt/beszel-althing/bridge.py
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|