[00:30] <Jake_from_State_> Hello
[01:06] <Chavorruco> hola
[01:06] <Chavorruco> alguien por aqui___
[01:06] <Chavorruco> ??
[01:07] <Jake_from_State_> Hello Chav
[01:07] <leftyfb> !es | Chavorruco
[01:07] <Chavorruco> ok tks
[01:18] <acer__> did i quit
[01:44] <diamat> hi
[01:44] <diamat> I love Ubuntu
[01:44] <diamat> 👁️ 💕 Ubuntu
[01:47] <Jake_from_State_> hello I also love ubuntu
[01:48] <ooberbanana> prefer it to windows
[01:49] <Jake_from_State_> I have my desktop and hp laptop running Ubuntu 22.04 and a Surface Go Laptop 2 running Fedora
[01:49] <leftyfb> !discuss
[02:12] <webchat24> driver problems for network latest version, someone was able to solve it for the lunar version
[02:58] <kerxphilox> Is the Ubuntu server the most minimal ISO setup disk for a bare bone Ubuntu server installation?
[03:01] <kerxphilox> Basically asking if there is another installation ISO that is geared towards a very minimal server installation
[03:04] <leftyfb> kerxphilox: that's about as basic as it gets
[03:04] <kerxphilox> Ok cool
[05:50] <Yakov> I need to make simple script to open my application
[05:50] <Yakov> is there possible to make script to be opened with shortcut, like I do with exe on Windows?
[05:54] <kerxphilox> Yakov: You can create a bash or zsh script on the desktop with your editor if you have any programming experience
[07:02] <V1A> jeebus
[08:11] <throwthecheese> Is there a way to prevent random fakeroot.sysv.so errors from occuring while building a package?
[11:22] <throwthecheese> Any idea on avoiding ld.so errors regarding fakeroot?
[11:28] <throwthecheese> I'm trying to build a package but it always fails with an error saying libfakeroot.sysv.so couldn't be loaded
[11:32] <ice9> what sound server is used in 23.04?
[12:50] <BluesKaj> Hi all
[13:19] <Lion-O> I have a directory in external hard drive on my ubuntu I want to lock with password. I think because it's NTFS it doesn't let me change permissions. Even after I made some changes in the fstab file - it just refuses to change permissions. I don't want to format the whole drive. What are my options?
[13:21] <leftyfb> Lion-O: you can't change linux permissions on NTFS. You could create an encrypted tarball using gpg
[13:24] <Lion-O> leftyfb, why gpg? Can't I do that with zip or 7zip?
[13:25] <leftyfb> Lion-O: you could, but I would have more confidence in gpg
[13:25] <Lion-O> leftyfb, I agree on that
[13:26] <Lion-O> Thanks
[13:44] <JanC> you *can* change linux permissions on NTFS when you configure user mapping
[13:47] <JanC> Lion-O: as you use NTFS, I assume you want to use that drive to exchange those files with Windows?
[13:54] <Lion-O> JanC, I once did use those files with Windows. No more
[13:56] <JanC> if you don't need those files on Windows there are various other solutions, like using an (encrypted) disk image file or an overlay filesystem
[13:57] <Lion-O> Interesting. If these are not complicated, can you give me some links?
[13:58] <JanC> if an encrypted zip/7z file does all you need it's an option too, of course
[13:59] <Lion-O> Maybe simplest is the way to go. Haven’t decided yet
[14:00] <JanC> so also depends on if e.g. you need to be able to access those files as "regular files" with all applications (without having to extract them first)
[14:01] <Lion-O> gpg is a little too much. Yes, I want to be having to put the password only when accessing the folder and then be able to access all files without any trouble
[14:01] <Lion-O> Should be more of a gui folder lock then actual folder lock
[14:02] <Lion-O> BBL to examine things
[14:04] <JanC> not sure what you mean by that "gui folder lock"   :)
[14:07] <Lion-O> I mean if you try to access with terminal then you can w r x but if you try to use nautilus than you get password request
[14:21] <JanC> nautilus can access anything any other program can access...
[14:44] <mzoku> здрасти
[14:44] <mzoku> I mean Hi
[14:45] <mzoku> how to find whats fixed in 22.04, that was a problem on 18.04, at the kernal level and drivers?
[14:47] <alkisg> mzoku: that would be like 100.000 lines of code or more... what could you possibly want to do with such a diff, instead of just getting a newer kernel?
[14:49] <JanC> it's simply impossible to have a complete list of that
[14:49] <mzoku> yeah, alkisg just to know if its worth it instaliing drivers and upgrding kernals, to finally get my sound card work
[14:50] <alkisg> mzoku: you'd need a month to collect the "problem" .diffs and a year to read them; it'll be easier to just boot a live cd and check
[14:50] <JanC> alkisg: not to mention a lot of fixes won't be mentioned literally
[14:51] <JanC> sometimes things get fixed (or broken) as a result of something else
[14:51] <leftyfb> mzoku: boot a live usb
[14:51] <mzoku> leftyfb, for what
[14:52] <leftyfb> mzoku: to see if the issue is resolved
[14:52] <mzoku> its not working on vms or live usb
[14:52] <JanC> it's probably the easiest way to check, indeed
[14:52] <leftyfb> mzoku: also, 18.04 is EOL. So you don't have much of a choice anyway
[14:52] <mzoku> yep
[14:53] <mzoku> it is working only with windows installed
[14:54] <JanC> if it doesn't work on 18.04 then you have nothing to lose with installing a newer Ubuntu...
[14:54] <mzoku> im already on the 22.04
[14:54] <JanC> what sound card is it?
[14:55] <leftyfb> mzoku: if you're running 22.04 then why did you ask to see a changelog to see if something is fixed in 22.04?
[14:57] <mzoku> sof-audio-pci-intel-tgl
[14:58] <mzoku> leftyfb, how do I know if there is updated drivers for some new kernal versions that are working with 22.04?
[14:58] <mzoku> thats why I was curious to find out whats fixed
[14:58] <leftyfb> mzoku: sudo apt update ; sudo apt full-upgrade
[14:59] <mzoku> [    5.466766] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-tgl-es8336-dmic2ch-ssp0.tplg failed with error -2
[15:00] <JanC> you have firmware-sof-signed installed?
[15:01] <mzoku> I guess not
[15:01] <mzoku> [    5.466793] sof-audio-pci-intel-tgl 0000:00:1f.3: you may need to download the firmware from https://github.com/thesofproject/sof-bin/
[15:01] <mzoku> I will try
[15:01] <leftyfb> mzoku: sudo apt install firmware-sof-signed
[15:01] <mzoku> that output of dmesg didnt came in 18.04
[15:02] <mzoku> I already had it
[15:02] <mzoku> firmware-sof-signed is already the newest version (2.0-1ubuntu4.1).
[15:04] <leftyfb> mzoku: also, FYI, a VM isn't going to use drivers for your soundcard. VM's use emulated hardware and drivers
[15:05] <JanC> I assume it wouldn't try to load the firmware if it didn't detect the hardware
[15:05] <mzoku> leftyfb, yep, I just mentioned it so for the same reason live usb wont be any differnt
[15:05] <mzoku> JanC, how to pastebin the output?
[15:05] <leftyfb> live usb has nothing to do with VM’s or emulated hardware or drivers
[15:07] <mzoku> than why suggesting to boot with live usb
[15:07] <mzoku> aaah I see, you thought im still on 18.04
[15:07] <mzoku> and just to check 22.04
[15:07] <mzoku> ok ok :)
[15:07] <JanC> it seems to me that "sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-tgl-es8336-dmic2ch-ssp0.tplg failed with error -2" means it detected the hardware & tried to load the firmware, but then that failed
[15:08] <mzoku> how to pastebin the output
[15:08] <mzoku> in a link
[15:09] <coconut> !paste
[15:10] <JanC> oh, I see, that exact firmware seems to be missing
[15:13] <mzoku> https://pastebin.com/Q37kUDiF
[15:13] <tomreyn> 23.04 has sof-tgl-es8336-dmic2ch-ssp0.tplg - it probably needs an SRU to 22.04
[15:14] <JanC> right
[15:14] <mzoku> yep, and there was few people reporting it and I thought someone will solve it
[15:15] <tomreyn> so there's an existing bug report?
[15:16] <mzoku> Yes, there should be a few, I remember it, was 2 years ago
[15:16] <mzoku> but can't find it no more
[15:16] <tomreyn> none here https://bugs.launchpad.net/ubuntu/+source/firmware-sof
[15:17] <JanC> there seem to be some older fixed reports for other hardware
[15:18] <mzoku> JanC, where is it
[15:19] <tomreyn> mzoku: you can report this firmware missing in 22.04 LTS on your 22.04 installation by running: ubuntu-bug firmware-sof
[15:20] <leftyfb> https://www.linux.org.ru/forum/linux-hardware/17167065
[15:20] <mzoku> how to get a package for this ubuntu-bug
[15:22] <mzoku> JanC, thanks, I was trying this one https://bbs.archlinux.org/viewtopic.php?id=274559 and it was the closest to fix the issue.
[15:25] <mzoku> I don't have apport
[15:25] <mzoku> anyways, I will wait for 24.04 :)
[15:26] <tomreyn> mzoku: apport is installed on all ubuntu systems by default
[15:26] <mzoku> I am removing it
[15:30] <JanC> removing what?
[15:30] <JanC> I think you can download https://github.com/thesofproject/sof-bin/raw/main/v2.2.x/sof-tplg-v2.2.1/sof-tgl-es8336-dmic2ch-ssp0.tplg and copy it into /lib/firmware/intel/sof-tplg/ to make it work now
[15:30] <JanC> but you should still report a bug
[15:30] <mzoku> im purging apport with every fresh install, thats why I dont have ubuntu-bug
[15:31] <JanC> eh...
[15:31] <JanC> why?
[15:31] <mzoku> JanC, let me see, I hope thats omething new that I didn't try 2 years ago
[15:36] <mzoku> JanC, anything esle
[15:37] <mzoku> just reboot now?
[15:43] <mzoku> JanC, no more dummy sound, now there is tiger-lake speakers SMart... I can see the bar of the sound moving
[15:43] <mzoku> but not sound from the speakers
[15:45] <JanC> and no more firmware loading error?
[15:45] <JanC> that sounds like it's muted or something
[15:46] <mzoku> yes no errors, and seems like its muted, but it isn't
[15:46] <mzoku> what checks would you recommend?  I feel like I am almost there to have sound
[15:47] <mzoku> https://pastebin.com/kW3qFmPN
[15:48] <JanC> did you try checking the output devices in the Sound settings?
[15:49] <mzoku> yest I tried the Test funcion as well, I can see the sound is coming with the moving bar
[15:49] <mzoku> but can't hear it
[15:49] <JanC> there might be more than one (e.g. internal speakers, external ones, & HDMI)
[15:49] <mzoku> its just one
[15:50] <mzoku> and the input is totally dead
[15:54] <iomari891> greetings, how can I install ipmiconsole?
[15:54] <mzoku> sudo apt install freeipmi-tools
[15:56] <iomari891> thanks
[16:00] <JanC> mzoku: did you try changing the volume or mute/unmute with the keys on that laptop?
[16:01] <mzoku> yep, I am not blocking anything
[16:01] <mzoku> maybe I need something else to install as well, or to do something in the BIOS/UEFI to which I might not have the password
[16:02] <JanC> when you run alsamixer, are there any channels shown as muted (MM)?  (don't change anything)
[16:05] <JanC> also, when you use the volume up/down buttons, the volume meter for one of those channels should move (which one?)
[16:05] <mzoku> JanC, nope, its good https://imgur.com/a/7B9tSn1
[16:06] <mzoku> JanC, thats interesting .. its moving the first one, which is headphones
[16:06] <mzoku> and the speaker isnt moving
[16:06] <JanC> and it's muted in that picture
[16:06] <JanC> try unmuting it  :)
[16:07] <JanC> with the M key
[16:07] <JanC> and move the volume up to 100% with PgUp
[16:10] <mzoku> thats
[16:10] <mzoku> I can hear the system sounds
[16:10] <mzoku> but nothing else
[16:10] <JanC> heh
[16:10] <mzoku> JanC, thanks a lot mate !
[16:10] <mzoku> I will now try to figure out whats happening
[16:11] <JanC> what do you mean by "nothing else"?
[16:11] <mzoku> I cnt hear anything from browser
[16:11] <mzoku> ah maybe I blocked it
[16:11] <mzoku> one moment
[16:12] <JanC> check volume in the browser also
[16:12] <mzoku> YES!
[16:12] <mzoku> im gooing to cry
[16:13] <JanC> now please file a bug report  :)
[16:13] <mzoku> JanC, I will, install apport and will file the bug :)
[16:14] <JanC> make sure in your explanation of the bug to show the error line about the firmware loading error
[16:15] <mzoku> the one which I pastebin it, there was two lines, ok
[16:15] <JanC> and that you fixed it by downloading & copying the firmware manually
[16:16] <mzoku> I will I will, let me just figure out the sound now, its very poor and low and will be file the bug
[16:21] <ckayhan> How do I BOTH turn off and lock the screen on Ubuntu 20.04.6?
[16:21] <ckayhan> from command line
[16:23] <mzoku> gnome-session-quit
[16:55] <mzoku> how and where to file a bug and a solution, ubuntu-bug doesnt work - it says there isn't a package ... ubuntu-bug sof-audio-pci-intel-tgl
[16:59] <JanC> the source package name is 'firmware-sof'
[16:59] <JanC> so: ubuntu-bug firmware-sof
[17:00] <mzoku> *** Problem in firmware-sof
[17:00] <mzoku> The problem cannot be reported:
[17:00] <mzoku> This report is about a package that is not installed.
[17:01] <JanC> 'firmware-sof-signed' then
[17:01] <mzoku> yes thats it
[17:02] <JanC> I thought source packages would work too  :)
[18:08] <mzoku> JanC, I filled the bug. Thanks a ton for finding out how to solve my problem with the no sound  :)))))
[18:19] <joseph1> howdy - a couple days ago i changed kernels - they work fine on my ssd - on the other drive - it is a m.2 - on the m.2 when ubuntu changed to 6.2 - I panicked and went and installed nvidia from their site - total failure - I have searched their site for the un-install command - found none - help - thanks.
[20:12] <mzoku> if I remove the cinfig file of alsamixer, would it be recreated ot boot? I am tryging to reset alsamixer to defaulst, any ideas?
[21:07] <fu-snapd> i hate snapd, I hate you :)
[21:07] <joseph1> any-body - home ??
[21:07] <leftyfb> fu-snapd: stop. This isn't the place for it
[21:07] <fu-snapd> ?
[21:08] <leftyfb> fu-snapd: this is a support channel. Ranting and being disrespectful is offtopic here
[21:08] <leftyfb> joseph1: what can we help you with?
[21:08] <joseph1> im finding a file - brb
[21:08] <fu-snapd> this is not the channel to talk about snap? leftyfb ?
[21:08] <fu-snapd> oh !
[21:09] <leftyfb> fu-snapd: if you have an issue you legitimately need help with, we are happy to help you troubleshoot or point you to a tutorial. This is not the place to "discuss" snap, no.
[21:09] <joseph1>  a couple days ago i changed kernels - they work fine on my ssd - on the other drive - it is a m.2 - on the m.2 when ubuntu changed to 6.2 - I panicked and went and installed nvidia from their site - total failure - I have searched their site for the un-install command - found none - help - thanks.
[21:09] <fu-snapd> leftyfb: lol, so
[21:09] <leftyfb> joseph1: revert to the previous kernel
[21:09] <joseph1> i did
[21:10] <leftyfb> reinstall the previous nvidia
[21:10] <leftyfb> driver*
[21:10] <fu-snapd> snap est une merde imonde, elle fait honte aux logiciels libres
[21:10] <joseph1> nvidia site drivers some how blocked everything
[21:10] <leftyfb> !op | fu-snapd
[21:11] <joseph1> there is a block somewhere -  I cant find it.
[21:11] <joseph1> sudo apt-get remove --purge '^nvidia-.*' didnt work
[21:12] <leftyfb> joseph1: sudo apt remove --purge --autoremove nvidia-*
[21:12] <joseph1> did that
[21:13] <joseph1> maybe i should just copy and paste my folders and re-install ?
[21:13] <fu-snapd> come on, I have to be banned. Because snap, is an unexpected sh** :)
[21:13] <rbox> fu-snapd: F- trolling
[21:13] <fu-snapd> no !
[21:14] <leftyfb> fu-snapd: stop
[21:14] <fu-snapd> this is a sh**
[21:14] <joseph1> fu - grow up - leave people alone.
[21:14] <fu-snapd> <;
[21:14] <fu-snapd> .
[21:15] <fu-snapd> no :(
[21:15] <joseph1> fu - if this the place for a fix - you found it - dont harass the help.
[21:16] <fu-snapd> okay.
[21:16] <joseph1> maybe i should ask another time.
[21:16] <leftyfb> joseph1: ignore the troll
[21:17] <joseph1> no worries
[21:17] <joseph1> the world has gone nuts
[21:17] <fu-snapd> /ignore *!*@user/pong ,>
[21:17] <joseph1> i feel sorry for those who help those who have real problems.
[21:18] <joseph1> ban everything abt that booger, lol.
[21:19] <joseph1> anyway, as i stated earlier - maybe the build is broke.
[21:20] <joseph1> I cant seem to reverse the block - that nvidia put on me installing nvidia - after trying to - un-installing nvidia site -  drivers - nouveau woeks fine -  think there is a block - somewhere.
[21:22] <joseph1> remember - this was in the first stages of 6.2
[21:23] <joseph1> I converted to the GA kernel and have installed 5.15
[21:24] <joseph1> please dont sweatit - if i have to ill copy & paste my files and - re-install. thanks
[21:26] <joseph1> itis a queer m.2 = and its called -team - so - maybe its a ccp garbage.
[21:26] <joseph1> who knows.
[21:26] <leftyfb> joseph1: define "block"
[21:27] <joseph1> maybe there is a config file thats telling it not to load
[21:27] <leftyfb> joseph1: what error message do you get?
[21:27] <Ali_nz> I have got a java jar file that is being run at startup
[21:27] <Ali_nz> I cant find it as a service or in crontab
[21:27] <Ali_nz> where else to look?
[21:27] <leftyfb> Ali_nz: what do you mean you can't find it?
[21:28] <leftyfb> Ali_nz: how should this jar file be started?
[21:28] <joseph1> leftyfb,  i tried deleting xorg
[21:28] <leftyfb> joseph1: reinstall
[21:28] <joseph1> no-such-file
[21:28] <joseph1> ya, what i thought.. thanks lefty.
[21:29] <joseph1> have a great day lefty. thanks.
[21:29] <mzoku> you can purge all snap and isolate it so it never installs anything
[21:29] <joseph1> ALL you helpers @ ubuntu - your wonderful.. god bless.
[21:29] <leftyfb> mzoku: who are you referencing?
[21:29] <Ali_nz> leftyfb: I can see the jar file running in ps -aux
[21:29] <joseph1> end.
[21:29] <mzoku> fu-snapd
[21:30] <oerheks> mzoku, not really .. some core components are snap in gnome
[21:30] <oerheks> mzoku, oh, troll has left
[21:30] <Ali_nz> leftyfb: if i restart the pc its still running
[21:30] <leftyfb> mzoku: they were removed from the channel
[21:30] <mzoku> oerheks, like which ones
[21:30] <Ali_nz> leftyfb: somehow its getting run at startup
[21:30] <mzoku> leftyfb, ah okay
[21:30] <leftyfb> Ali_nz: did you install this jar file? What is it?
[21:30] <Ali_nz> leftyfb: nah I wrote it, and I want it started, I just want to remember how i am autostarting it lol
[21:30] <oerheks> snap list should give a clue...
[21:31] <mzoku> leftyfb, I have zero snap packages
[21:31] <leftyfb> Ali_nz: check /etc/rc.local or ~/.config/autostart
[21:31] <Ali_nz> I have created a bash script to start it, but cant see a corresponding .service file
[21:31] <mzoku> and snapd is purged
[21:31] <leftyfb> Ali_nz: you should be using a systemd service file
[21:31] <leftyfb> mzoku: do you need help with something?
[21:32] <Ali_nz> leftyfb: these dont exist : /etc/rc.local or ~/.config/autostart
[21:32] <Ali_nz> and I cant find a corresponding service file
[21:32] <mzoku> leftyfb, yes, I have asked how to set alsamizer to default settings, and if I remove the config file from home dir, would it be recreated on boot with default settings
[21:32] <kaleido> remove the bash script that starts it
[21:32] <Ali_nz> unless maybe I do some sort of search in service files because I gave it a dumb name
[21:32] <Ali_nz> (possible)
[21:32] <oerheks> Ali_nz, perhaps in bashrc or profile
[21:33] <leftyfb> Ali_nz: what release of ubuntu is this? What Desktop Environment?
[21:33] <leftyfb> mzoku: you can remove anything you want from ~/
[21:33] <Ali_nz> its 20
[21:33] <Ali_nz> Desktop
[21:33] <mzoku> oerheks, but to be honest, root still has snapd and its packages, like if I log in with root and do snap list, I got all snaps.
[21:33] <Ali_nz> oerheks: How do I check bashrc ?
[21:34] <mzoku> leftyfb, yes, but will it create the config file on boot
[21:34] <leftyfb> Ali_nz: if it's needed, yes
[21:34] <leftyfb> mzoku: if it's needed, yes
[21:34] <Ali_nz> is there a startup log that might provide a clue?
[21:34] <leftyfb> Ali_nz: ( cat /etc/os-release ; uname -a ; echo $XDG_CURRENT_DESKTOP ) | nc termbin.com 9999
[21:36] <Ali_nz> leftyfb: thats very cool https://termbin.com/rrdwq
[21:37] <leftyfb> Ali_nz: sudo apt install locate && sudo updatedb && locate <name-of-your-bash-script-goes-here>
[21:37] <oerheks> rename the java.tar and see what error shows up
[21:39] <Ali_nz> locate - some sort of find tool
[21:40] <Ali_nz> It only found stuff in the directory that contains the jar file and bash (same dir)
[21:40] <Ali_nz> very odd
[21:42] <Ali_nz> leftyfb: anything in startup log?
[21:43] <kaleido> Ali_nz: have you looked for anything in ~/.bashrc or ~/.profile?
[21:45] <Ali_nz> those dirs dont exist
[21:47] <kaleido> they are files in your $HOME
[21:49] <Ali_nz> ok - got em
[21:49] <Ali_nz> nothing related that i can see
[21:57] <jhutchins> locate does not search all directories and respects permissions - it won't show you files you don't see.
[21:58] <leftyfb> locate searches all directories in the same filesystem that you have permission to read
[21:58] <leftyfb> Ali_nz: sudo locate <name-of-your-bash-script-goes-here>
[21:59] <leftyfb> jhutchins: actually, I don't think that's true. sudo updatedb generates the index of all the files, which is using sudo.
[22:01] <Ali_nz> I tried it as me and as sudo -i
[22:01] <Ali_nz> same result
[22:01] <oerheks> systemctl list-units --all   or systemctl --type=service
[22:01] <Ali_nz> leftyfb I could teamviewer if you have time?
[22:02] <Ali_nz> its just bizzare
[22:02] <oerheks> who has installed that java thingy for you?
[22:02] <leftyfb> jhutchins: https://pastebin.ubuntu.com/p/7gYxq6mGVX/
[22:02] <Ali_nz> lol I did
[22:02] <Ali_nz> but it was a while ago
[22:03] <Ali_nz> probably followed a tutorial, and I would have expected it to be a service type setup
[22:04] <leftyfb> Ali_nz: get the PID of your running application
[22:04] <leftyfb> Ali_nz: then ps -ef |grep <PID>
[22:05] <oerheks> maybe it is not running at all
[22:07] <Ali_nz> root         681     652  0 09:17 ?        00:00:00 /bin/sh -c java -jar /home/algrant/Vehicles/GetStoCSV-0.0.1-SNAPSHOT.jar
[22:07] <Ali_nz> root         687     681  0 09:17 ?        00:00:20 java -jar /home/algrant/Vehicles/GetStoCSV-0.0.1-SNAPSHOT.jar
[22:07] <leftyfb> !paste | Ali_nz
[22:07] <leftyfb> Ali_nz: ps -ef |grep  681
[22:08] <Ali_nz> thats it
[22:08] <Ali_nz> thats what I get
[22:08] <leftyfb> oh
[22:09] <leftyfb> Ali_nz: ps -ef |grep 652
[22:10] <Ali_nz> https://pastebin.com/eQ7pE1fB
[22:11] <leftyfb> Ali_nz: 404
[22:11] <leftyfb> try a new paste
[22:12] <Ali_nz> https://pastebin.com/YN71Bb7p
[22:12] <leftyfb> Ali_nz: it was started from CRON
[22:13] <Ali_nz> leftyfb: ahhhh - its was started from sudos cron
[22:13] <Ali_nz> not mine
[22:13] <leftyfb> Ali_nz: sudo crontab -l
[22:13] <Ali_nz> but it would be better to run it as a service right
[22:13] <leftyfb> Ali_nz: I highly recommend creating a proper systemd service file
[22:14] <Ali_nz> snap
[22:14] <Ali_nz> I am going to reboot now and make sure its no longer running then have a go at a service file
[22:17] <Ali_nz> leftyfb thansk for helping me on that
[22:17] <Ali_nz> thought I was going nuts
[22:19] <Ali_nz> how do i exit sudo -i
[22:21] <tomreyn> type "exit" and press enter
[22:21] <tomreyn> or press ctrl-d
[22:26] <Ali_nz> ta
[22:31] <jhutchins> Ali_nz: Tip:  You can use the shutdown command from within the sudo -i shell.  shutdown -r now for reboot, -h for halt.
[22:32] <jhutchins> Ali_nz: It will properly close any active applications, including the double shell.
[22:33] <Ali_nz> Hmm, doesnt like running as a service
[22:33] <Ali_nz> https://pastebin.com/DQub0CvV
[22:33] <Ali_nz> The sh files runs fine on its own
[22:34] <Ali_nz> Can the exec start be my dir
[22:34] <Ali_nz> Or must it be : ExecStart=/usr/bin/script.sh
[22:36] <oerheks> full path
[22:39] <Ali_nz> oerheks: got it - thanks
[22:41] <Ali_nz> and is there a way to monitor this service via email - like alerts if it stops?
[22:41] <Ali_nz> some ubununtu monitoring tool perhaps
[22:46] <oerheks> ExecStopPost https://superuser.com/questions/1360346/how-to-send-an-email-alert-when-a-linux-service-has-stopped  but i wonder why that stolenvehicles program has no such option
[22:50] <Ali_nz> but how can a program that has stopped alert you that it has stopped (because its not running)
[22:50] <Ali_nz> thats why the link you sent is probably what I want
[22:51] <Ali_nz> although since I am in the mood for learning - is there not a way nagios can link to a mobile and give you like a home screen alert when things go wrong? that would be swtt
[22:51] <Ali_nz> sweet
[22:55] <Ali_nz> https://pushover.net/pricing - could integrate with this I suppose
[23:07] <leftyfb> Ali_nz: I use pushover for things just like this