24 lines
557 B
Desktop File
24 lines
557 B
Desktop File
[Unit]
|
|
Description=DAARION Node Guardian Loop
|
|
After=network.target docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/microdao-daarion
|
|
ExecStart=/usr/bin/python3 /opt/microdao-daarion/scripts/node-guardian-loop.py --node-id=node-1-hetzner-gex44
|
|
Restart=always
|
|
RestartSec=10
|
|
Environment=CITY_API_URL=http://localhost:7001
|
|
Environment=SWAPPER_URL=http://localhost:8890
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=node-guardian
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|