dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Client Quit]
Rickmasta has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #cinch
Azure has quit [Quit: Oops.]
Azure has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
head8debian has quit [Ping timeout: 246 seconds]
head8debian has joined #cinch
head8debian has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has quit [Quit: Leaving]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruok has joined #cinch
ruok has quit [Ping timeout: 250 seconds]
Guest12746 is now known as ZeeNoodleyGamer
ZeeNoodleyGamer is now known as Iota-Spencer
<tinnvec> hadn't had a chance to test out that trap setup until today. Maybe I'm missing something, but it seems that Ctrl-C is no longer working
<tinnvec> I can stop (ctrl-z) and kill the pid, so it's not like it's unstoppable, but it doesn't seem to make sense to me as to why
<dominikh> because you're not properly quitting after you handled the signal?
<tinnvec> bot.quit?
<tinnvec> or do I need to also specify that the mutex sync thread needs be killed?
<dominikh> well, are you sure it's calling that? and that you have no other Ruby code that's keeping the process alive?
<leftylink> should determine: the minimal example posted yesterday does or does not work for you? it does work for me. if it also works for you but not your full bot need to figure out the differences between the two
<tinnvec> hmm unsure, let me doublecheck
<tinnvec> yeah, let me see what might be messing things up here
<tinnvec> hrm okay maybe something's messed up elsewhere, ctrl-c doesn't seem to be working at all in my terminal emulator lol
tinnvec has quit [Remote host closed the connection]
tinnvec has joined #cinch
<tinnvec> so so wierd, ctrl-c seems to not work on my vps anymore
<tinnvec> rebooted it and everything
<tinnvec> ctrl-\ seems to still send SIGQUIT, so at least there's that
greenbig- has joined #cinch
greenbigfrog has quit [*.net *.split]
<tinnvec> hm okay, must have been a typo on my part in this part of the quit message: Signal.signame(signal_received)
<tinnvec> as soon as I removed it all was well
<tinnvec> re-entered it and it works fine now too
<tinnvec> thanks for bearing with me :D
<tinnvec> I may have mentioned this earlier (mostly unelated) but I made a little "kill" plugin to tell the bot to quit from irc
<tinnvec> is there any way to do a restart? other than a variable and a while true?
<dominikh> use a proper supervisor such as runit or systemd
<tinnvec> ah yeah, I'm using systemd on my vps where the bot runs
<tinnvec> at least I'm pretty sure that's what the startup system is, I write the service filed in /etc/init.d
<tinnvec> *files
<tinnvec> so I can totally restart it from outside the bot, in a terminal
<tinnvec> or am I misunderstanding your meaning?
<dominikh> no.
<tinnvec> oh okay heh, so from within the bot, there isn't exactly a clean way to "reboot" it
<dominikh> sure there is, exec yourself. but it's pointless when you could do it the proper way
<tinnvec> cause there's always "while(true) { if (bot.quitting) { sleep 5; bot.start; } } "
<tinnvec> maybe I'm going to sound like a noob, but how would the "proper" way work? I feel like I'm missing a piece of the puzzle
<tinnvec> like, I don't know how to trigger systemd stuff from within a script
<dominikh> what is there to trigger? exit, and systemd, being a supervisor, will start it again.
<tinnvec> oh I see what you mean, it'll do it automatically? I'm not exactly familiar with the inner workings of systemd, I just assumed that once the bot quits out, the only way to restart it was from the command line
<dominikh> open up google and read up on what the actual task of a supervisor is ;)
<tinnvec> haha will do, linux is the never ending fountain of stuff I need to learn
<tinnvec> oh good thing to read up on, looks like I wrote things in the old way for startup
<tinnvec> being on 14.04, I didn't ealize that moving forward, upstart will be used
<dominikh> sane people have had supervision since ~2000 btw, mainstream linux is a tad slow to catch up.
<tinnvec> heh, so it would seem
<tinnvec> I actually went through a decent amount of hassle to learn how to write the old startup scripts too lol
<tinnvec> meh, happens, lesson learned
<tinnvec> at least the whol ebot thing isn't work work
<tinnvec> *whole bot
<tinnvec> just a fun distraction
tinnvec has quit [Remote host closed the connection]
tinnvec has joined #cinch
tinnvec has quit [Read error: Connection reset by peer]
tinnvec has joined #cinch
tinnvec has quit [Ping timeout: 240 seconds]
tinnvec has joined #cinch
tinnvec has quit [Quit: No Ping reply in 180 seconds.]
tinnvec has joined #cinch
Azure has quit [Quit: Oops.]
Azure has joined #cinch
Rickmasta has joined #cinch
postmodern has joined #cinch