This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
forked from SpacedMonkeyTCT/merlin
-
Notifications
You must be signed in to change notification settings - Fork 10
systemd
d7415 edited this page Apr 7, 2018
·
2 revisions
Merlin and Arthur can be run as systemd services. Sample unit files are provided.
- These instructions assume you are using Debian Jessie or Stretch with systemd and are running as a non-root user with sudoer privileges.
- If you don't want to use Arthur, don't enable it.
Open arthur.service and merlin.service and replace "botname" with your bot's nick.
sudo cp arthur.service merlin.service /etc/systemd/system/
sudo systemctl enable merlin.service
sudo systemctl enable arthur.service
First, stop any existing Merlin and Arthur instances for this bot. Then:
sudo systemctl start merlin.service
sudo systemctl start arthur.service
Merlin and Arthur should now start with your system and stay running in the background without the need for screen.