1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 10:35:41 -04:00

Add systemd service files for the bot and evalserver

This commit is contained in:
Ryan Voots 2016-06-25 20:10:43 -04:00
parent e470e471cd
commit 47152092bb
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Perlbot eval server
After=network.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/home/ryan/bots/perlbuut/bin/evalserver
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,16 @@
[Unit]
Description=Perlbot service
After=network.target
[Service]
Type=simple
User=ryan
Group=ryan
ExecStart=/home/ryan/perl5/perlbrew/perls/perlbot-inuse/bin/perl /home/ryan/bots/perlbuut/bin/bb3
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target