15 lines
237 B
Text
15 lines
237 B
Text
[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
|