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:
parent
e470e471cd
commit
47152092bb
2 changed files with 32 additions and 0 deletions
16
etc/systemd/system/evalserver.service
Normal file
16
etc/systemd/system/evalserver.service
Normal 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
|
||||||
|
|
16
etc/systemd/system/perlbot.service
Normal file
16
etc/systemd/system/perlbot.service
Normal 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue