geostat/geostat.service.template

16 lines
237 B
Text
Raw Permalink Normal View History

[Unit]
Description=GeoStat
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=$PWD/venv/bin/python geoparser.py
User=root
WorkingDirectory=$PWD
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target