From 3ef90ae6cf6c9449eb4668df0b1399cdfe2fac70 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Apr 2023 10:48:07 +0200 Subject: [PATCH] systemd: Default to /usr/bin/supybot --- use/supybot-botchk.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/use/supybot-botchk.rst b/use/supybot-botchk.rst index d87dc4e..60d8c44 100644 --- a/use/supybot-botchk.rst +++ b/use/supybot-botchk.rst @@ -30,7 +30,7 @@ following content replacing things were suitable:: Environment="PATH=/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/bin:/opt/local/bin:/opt/local/sbin:/opt/local/games" Environment="TZ=UTC" Type=simple - ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf + ExecStart=/usr/bin/supybot /home/bot/botname/botname.conf ExecReload=/bin/kill -HUP $MAINPID Restart=always User=BOTUSERNAME @@ -39,9 +39,10 @@ following content replacing things were suitable:: [Install] WantedBy=multi-user.target -:file:`/usr/local/bin/supybot` should be the path where you installed Limnoria. +:file:`/usr/bin/supybot` should be the path where you installed Limnoria. Typically, this is: +* :file:`/usr/bin/supybot` if installed with a system package manager (APT, YUM, ...) * :file:`/usr/local/bin/supybot` if installed as root without a virtualenv * :file:`/opt/venvs/limnoria/bin/supybot` if installed as root with a virtualenv as :file:`/opt/venvs/limnoria/`