diff --git a/etc/systemd/system/evalserver.service b/etc/systemd/system/evalserver.service new file mode 100644 index 0000000..fec15a7 --- /dev/null +++ b/etc/systemd/system/evalserver.service @@ -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 + diff --git a/etc/systemd/system/perlbot.service b/etc/systemd/system/perlbot.service new file mode 100644 index 0000000..dc4d123 --- /dev/null +++ b/etc/systemd/system/perlbot.service @@ -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 +