19 lines
308 B
Desktop File
19 lines
308 B
Desktop File
[Unit]
|
|
Description=EMZ Poller Service
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
Group=pi
|
|
WorkingDirectory=/opt/emz_poll
|
|
ExecStart=python3 /opt/emz_poll/emz_poll.py
|
|
SyslogIdentifier=emz-poll
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|