hashbang / irc-bot

IRC Bot
MIT License
3 stars 6 forks source link

Use unicode escape #18

Open reynir opened 4 years ago

reynir commented 4 years ago

Then we don't have to worry about inferior editors

RyanSquared commented 4 years ago

I'm not sure if the bot is already 5.3 only but this commit would mean that it only works with Lua 5.3.

daurnimator commented 4 years ago

Currently the bot runs on 5.3

$ systemctl --user cat irc-bot.service 
# /home/daurnimator/.config/systemd/user/irc-bot.service
[Unit]
Description=[] irc bot
Documentation=https://github.com/hashbang/irc-bot

[Service]
WorkingDirectory=%h/irc-bot
Environment="LUA_PATH_5_2=%h/.luarocks/share/lua/5.2/?.lua;%h/.luarocks/share/lua/5.2/?/init.lua;/usr/local/share/lua/5.2/?.lua;/usr/local/share/lua/5.2/?/init.lua;/usr/share/lua/5.
#ExecStart=/usr/bin/lua5.2 %h/irc-bot/main.lua
ExecStart=/bin/bash -c 'set -o pipefail; exec lua5.2 %h/irc-bot/main.lua|&logger'
Restart=on-failure

[Install]
WantedBy=default.target

I'd be happy to upgrade to 5.3 now that we're on buster.