Add service for rider convert. #535
This commit is contained in:
parent
6f0fb9a0ae
commit
13ed41b936
1 changed files with 12 additions and 0 deletions
12
utils/mqtt_rider_convert/riderconvert.service
Normal file
12
utils/mqtt_rider_convert/riderconvert.service
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Rider Message Convert Service
|
||||||
|
After=mosquitto.service redis.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/python /root/www/resq/utils/mqtt_rider_convert/riderconvert.py
|
||||||
|
StandardInput=tty-force
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in a new issue