Osselbot/src/osselbot.service

16 lines
370 B
SYSTEMD
Raw Normal View History

2020-02-17 00:01:41 -05:00
[Unit]
Description="Osselbot coded for civilians all partying"
[Service]
2020-04-04 20:40:15 -04:00
ExecStart=/home/pi/Osselbot/src/bot-start.sh
2020-02-17 00:01:41 -05:00
Restart=always
2020-04-04 20:40:15 -04:00
User=pi
2020-02-17 00:01:41 -05:00
# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody'
Group=nogroup
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
2020-04-04 23:35:32 -04:00
WorkingDirectory=/home/pi/Osselbot/src/
2020-02-17 00:01:41 -05:00
[Install]
WantedBy=multi-user.target