Create crawler service file.
This commit is contained in:
12
crawler_software/raspberry_pi/crawler.service
Normal file
12
crawler_software/raspberry_pi/crawler.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Crawler service overseer, manages running main crawler software
|
||||
After=multi-user.target
|
||||
Conflicts=getty@tty1.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python /srv/crawler/crawler.py
|
||||
StandardInput=tty-force
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user