/srv/irclogs.ubuntu.com/2016/04/16/#ubuntu-server.txt

jvwjgamesHi everyone00:10
jvwjgamesso i am wondering if i can execute a python script when a command outtup shows text on the screen and not saved to a file00:10
jvwjgamesIs this possible?00:11
jrwrenyes00:12
jvwjgamesreally00:12
sarnoldwhat are you doing?00:12
jvwjgameshow00:12
jrwrenjvwjgames: use tee to pipe the output to both the python command and the screen?00:12
jvwjgamesso i am having a command minimodem listen for tones and it prints it on the screen in realtime the decoded tones but can't save to a file00:12
sarnoldhow is it printing to the screen?00:13
jvwjgamesrtty00:13
jvwjgamesit listen from the mic and prints to the screen00:13
jvwjgames*listens00:13
jrwrenor heck, just have the python echo what it reads as well as process it.00:13
jvwjgameswhat command00:14
sarnoldthe easy approach may be to edit the source and change it from using curses or whatever to just print00:14
sarnoldslightly harder may use the script program to capture the output00:14
sarnoldbut that may not actualy work00:14
jvwjgamesok00:14
jrwrenif it is this, it looks like it justs prints to stdout: https://github.com/kamalmostafa/minimodem/blob/master/src/minimodem.c00:18
sarnoldjrwren: hrm, so why didn't redirecting its output work?00:22
jvwjgameslet me reiterate my question00:46
jvwjgamesso if a file reads a word in seismicdata.txt if the word in that file reads seismicdata then execute a curl command00:46
jvwjgamesthat's what i want and seems to be easier00:46
jvwjgamescause i got the stdout to redirect to a file00:48
jvwjgamesnow i want the curl command to run if word in file contains seismicdata00:48
sarnoldjrwren: try this: grep -q seismicdata && curl http://....00:49
jvwjgamesthanks it works00:51
jvwjgamesthank you for your help sarnold00:52
sarnoldgreat ;) have fun jvwjgames :)00:52
sarnoldsigh jrwren sorry, tabmisfire00:52
hallynjcastro: wow, the juju credentials features look nice01:05
jrwreni misunderstood something. Sorry.01:35
patdk-lapheh, not fun, nfs issues03:23
patdk-laphttps://lkml.org/lkml/2015/12/4/75903:35
patdk-lapgetting that same exact issue on 16.04 :(03:35
patdk-lapthough, I don't get any of those oversized read request log lines03:38
=== prince is now known as King`
=== King` is now known as King
=== King is now known as King-
=== King- is now known as prince
=== prince is now known as King-
=== mwhudson_ is now known as mwhudson
=== mwhudson is now known as Guest85752
=== Guest85752 is now known as mwhudson
=== athairus is now known as afkthairus
lordievaderGood morning.08:46
=== FManTropyx2 is now known as FMan
FMan"System load: 0.0"11:36
bekksFMan: And? :)11:38
FManhelp me think of something to do with my server :D11:39
bekksWhat does it do normally?11:39
FManidle11:39
FManit's a VPS11:40
bekksAnd what do you have that VPS for, if you arent using it?11:40
FMangood question... I have a web server running on it for testing now so far11:46
pmatulishallyn: know anything about it? https://bugs.launchpad.net/serverguide/+bug/157113513:05
ubottuLaunchpad bug 1571135 in Ubuntu Server Guide "Follow-up to Bug #1300369: Server guide misleading/incorrect" [Undecided,New]13:05
=== ejat_ is now known as ejat
TheSuperGeekhello, is there a tutorial about administrate a server ? Because I want to host a home-server, but I don't know how to do it.13:51
bekksA server serving which pupose?13:52
TheSuperGeekbekks: hosting a Cozycloud (www.cozy.io) + owncloud + ftp +ssh13:52
TheSuperGeekbekks: and maybe a VPN13:53
andolTheSuperGeek: https://help.ubuntu.com/lts/serverguide/ might not be a bad place to start.13:53
bekksAt home?13:53
TheSuperGeekbekks: and maybe LDAP13:53
TheSuperGeekbekks: yes13:53
andolTheSuperGeek: https://debian-handbook.info/ is a really good read, and mostly apply towards Ubuntu servers as well.13:54
TheSuperGeekandol: It seems to be something I search13:54
TheSuperGeek(the 1st link)13:54
TheSuperGeekandol: Oh the 2 links are in french, that's very good. Thank you !13:56
hallynpmatulis: the section id=lxd-uid, "UID mappings and Privileged containers" explains how to do it.14:09
hallynpmatulis: if you feel it needs more explanation please feel free to assign it to me.14:10
pmatulishallyn: so it's in the LXD chapter but not in the LXC chapter iiuc15:59
hallynpmatulis: oh the complaint was about the lxc section?15:59
hallyni only looked at the source, not the doc.16:00
hallynso didn't notice that16:00
hallyni can still cross-reference right?  pls feel free to assign to me, i'll propose something and you can tell me it's horrible :)16:00
pmatulishallyn: ok16:00
hallynthx16:00
=== afkthairus is now known as athairus
devster31how can I make /srv placed on a different hard disk but without making a partition and mounting it?19:28
mackshas anyone integrated jetbrain's hub with ldap?20:43
=== Monthrect is now known as Piper-Off
Kallishi there, looking at moving my windows server over to a linux server and am just going about setting up samba with acl, was just wondering if there was an easy way for me to copy all current user acl's that are in place on the windows server over to the new samba linux box please or do i need to redo all acl for all users on all directories, using ubuntu server 15.1023:44
Kallisfor now the ubuntu server will just start off for file serving so i will continue using the windows server for ldap and a couple of other bits as i slowly migrate away23:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!