Osselbot/old stuff/osselbot.service
2020-05-15 02:39:49 -05:00

18 lines
417 B
Desktop File

[Unit]
Description="Osselbot coded for civilians all partying"
[Service]
Type=simple
ExecStart=/home/ec2-user/Osselbot/src/bot-start.sh
Restart=on-failure
RestartSec=5s
User=ec2-user
# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody'
Group=nobody
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
WorkingDirectory=/home/ec2-user/Osselbot/src/
[Install]
WantedBy=multi-user.target