Changeset - a887af578603
[Not reviewed]
default
0 0 1
Ethan Zonca (ethanzonca) - 9 years ago 2017-01-29 16:43:17
e@ethanzonca.com
Added systemd service file
1 file changed with 16 insertions and 0 deletions:
0 comments (0 inline, 0 general)
hydrobot@.service
Show inline comments
 
new file 100644
 
[Unit]
 
Description=HydroBot Hydroponics Control Service
 
After=network.target
 
BindsTo=sys-subsystem-net-devices-%i.device
 
After=sys-subsystem-net-devices-%i.device
 

	
 
[Service]
 
ExecStart=/usr/bin/python hydrobot.py
 
WorkingDirectory=/opt/hydrobot-software
 

	
 
User=hydrobot
 
Group=hydrobot
 

	
 

	
 
[Install]
 
WantedBy=multi-user.target
0 comments (0 inline, 0 general)