mirror of
https://github.com/Limnoria/Limnoria-doc.git
synced 2025-04-05 06:49:48 +00:00
systemd: Default to /usr/bin/supybot
This commit is contained in:
@ -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="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"
|
Environment="TZ=UTC"
|
||||||
Type=simple
|
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
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
User=BOTUSERNAME
|
User=BOTUSERNAME
|
||||||
@ -39,9 +39,10 @@ following content replacing things were suitable::
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
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:
|
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:`/usr/local/bin/supybot` if installed as root without a virtualenv
|
||||||
* :file:`/opt/venvs/limnoria/bin/supybot` if installed as root with a virtualenv
|
* :file:`/opt/venvs/limnoria/bin/supybot` if installed as root with a virtualenv
|
||||||
as :file:`/opt/venvs/limnoria/`
|
as :file:`/opt/venvs/limnoria/`
|
||||||
|
Reference in New Issue
Block a user