[07:28] <brobostigon> morning boys and girls.
[09:45] <diplo> Anyone good with systemd ? I basically have one initd script currently that starts a few of our processes, googling to try and find the best way to do that in systemd but seem to be failing. Each service script has one program to start
[09:46] <diplo> If anyone can point me in the right direction, I basically want to do systemctl software start
[09:46] <diddledan> diplo: initd scripts are still supported by systemd
[09:47] <diddledan> if you really want to rebuild them as pukka services you'll need to write a file in /etc/systemd/system/<servicename>.service then systemctl enable <servicename> and finally systemctl start <servicename>
[09:48] <diplo> inside of that it starts 5 of our programs
[09:48] <diplo> I read somewhere I could get one systemd script to trigger multiple others though
[09:48] <diplo> And I can't find how
[09:48] <diplo> :P
[09:49] <diplo> But yeah, I know they are stull supported currently but they are being discontinued at some point
[09:50] <diplo> I may just get the services to shutdown cleanly and then the customers can just run shutdown and the OS can shutdown them properly rather than the customer
[09:50] <diddledan> the spec for .service files is at https://www.freedesktop.org/software/systemd/man/systemd.service.html
[09:50] <diplo> Currrently we run service software status and it shows all 5/6 programs are running
[09:51] <diplo> ta, reading through now
[09:52] <diddledan> oh, it's split. there's more spec here: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#
[09:55] <diplo> thanks
[09:58] <diplo> Tis a bit of a minefield I find :)
[09:59] <diddledan> yeah, it's not very well documented in an "when you want to do X. you need make Y look like"
[09:59] <diddledan> way*
[10:00] <diddledan> it's read the spec and guess
[10:01] <diddledan> initd scripts were much more understandable because they were scripts
[10:10] <diplo> I guess so yeah
[10:10] <diplo> Sorry went for a walk, stretch legs and mind :)
[10:12]  * diddledan expands his mind
[10:13] <diddledan> https://www.youtube.com/watch?v=9CS7j5I6aOc
[10:17] <diplo> hah
[10:49] <diplo> This just got more problematic, we do some weird and wonderful stuff in our init scripts :/
[10:53] <m0nkey_> diddledan: You'll find me here :)
[10:55] <diddledan> :-)
[12:12] <MooDoo> howdy all
[12:12] <daftykins> \o
[12:13] <SuperMatt> ahoy
[12:16] <foobarry> how can i get awk to print a bash variable that's a string? e.g. export FOO=BAR; awk ' { printf "$BAR" }'
[12:16] <foobarry> works with integers only
[12:20] <SuperMatt> I have no idea
[12:21] <daftykins> it's not anything to do with print vs printf is it?
[12:25] <foobarry> got it
[12:25] <foobarry> its just weird with bash variables
[12:25] <foobarry> cat file | awk blah works with strings
[12:25] <foobarry> but bash variables requires a mega hack
[12:26] <foobarry> printf "'$FOO'"
[12:26] <foobarry> won't be used in prod code, don't worry
[12:26] <daftykins> put in a quick comment "to be removed later - 12/7/2017" :D
[12:27] <diddledan> TODO: ignore this forever more
[12:28] <diddledan> TODOs rarely ever get revisited
[12:28] <daftykins> ah well as a comment it'll be out of sight and out of mind :>
[12:28] <diddledan> a bad idea: https://twitter.com/bdsams/status/885113497461370880
[12:29] <daftykins> at least you get to visit both and don't have to pick...
[12:32] <foobarry> ah i know that place
[12:32] <foobarry> in dorset
[12:32] <daftykins> did you visit either? :)
[12:32] <foobarry> i wanted tank museum, kids wanted monkey world
[12:33] <foobarry> we went to durdle door instead as it was free
[12:33] <daftykins> oof
[12:33] <daftykins> sounds like everyone lost :D
[12:36] <diddledan> I like that. compromise by choosing neither
[12:37] <daftykins> heh parenting++
[12:38] <diddledan> lol @ hantslug mailing list: "In my experience, compiling from source is a uniquely unsatisfying form of masochism :("
[12:38] <daftykins> :D
[12:54] <diplo> I've been to both, down the road from me
[12:54] <diplo> Kids have been to the tank museum a few times
[12:55] <diplo> Also donkey world is there as well or close by
[12:55] <daftykins> D: where is this magical region?
[12:56] <daftykins> diddledan: pre-emptive: down boy
[12:57] <diplo> Bovington near wareham
[12:58] <daftykins> wow that's almost the closest bit of land from Guernsey :>
[12:58] <diplo> between weymouth and poole
[12:58]  * daftykins commences swimming
[13:19] <daftykins> err... http://www.tankmuseum.org/whats-on/events/bovevt53878
[13:28] <diddledan> daleks are a kind of tank
[13:29] <daftykins> that's true
[14:17] <foobarry> diplo: will be going to portland for holiday this year again
[14:29] <diddledan> I think my sdcard reader is killing any cards I put in it
[14:29] <diplo> Never visited :)
[14:32] <daftykins> diddledan: you must have angered it
[14:32] <foobarry> :o
[14:32] <foobarry> is it acceptable to have a non zero axis?
[14:33] <foobarry> e.g. values from 5000-10,000
[14:33] <diddledan> I don't understand. I've put several cards into it one of which I am sure was working fine last I used it, but each one has ended-up readonly
[14:33] <daftykins> heh i see that happen _so_ much with Linux users
[15:05] <foobarry> re-learning R is hard
[15:05] <foobarry> stupid brain
[15:05] <diddledan> yarr
[15:05] <daftykins> an eye path might help
[15:06] <daftykins> *patch
[15:06] <diddledan> and a parrot
[15:06] <diddledan> pieces of 7! pieces of 7
[15:06] <diddledan> (that's a parrotty error)
[15:06]  * daftykins insures 9
[15:26] <diddledan> I know it's the daily fail, but still: http://www.dailymail.co.uk/news/article-4689372/PIERS-MORGAN-Thanks-Don-Jr-smoke-burst-flames.html
[16:30] <diddledan> https://i.redditmedia.com/z5E_iew_J3mHo5oyX7b4bVA25PYiHv1fpH3WeKl-ca4.jpg?w=376&s=bb809cfffed0b698c95c9fcd77e3c991
[16:32] <daftykins> that's no knife!
[17:40] <zmoylan-pi> you've played knifey spoony before...
[17:46] <daftykins> :>