2020-02-17 05:01:41 +00:00
|
|
|
[Unit]
|
|
|
|
Description="Osselbot coded for civilians all partying"
|
|
|
|
|
|
|
|
[Service]
|
2020-04-05 12:14:37 +00:00
|
|
|
Type=simple
|
|
|
|
ExecStart=/home/ceasharks/github/Osselbot/src/bot-start.sh
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
2020-04-05 12:39:11 +00:00
|
|
|
User=root
|
2020-02-17 05:01:41 +00:00
|
|
|
# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody'
|
2020-04-05 12:39:11 +00:00
|
|
|
Group=root
|
2020-02-17 05:01:41 +00:00
|
|
|
Environment=PATH=/usr/bin:/usr/local/bin
|
|
|
|
Environment=NODE_ENV=production
|
2020-04-05 12:14:37 +00:00
|
|
|
WorkingDirectory=/home/ceasharks/github/Osselbot/src/
|
2020-02-17 05:01:41 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|