=== genii is now known as genii-core [08:16] Good morning === caribou_ is now known as caribou === genii-core is now known as genii [19:28] hi all.. i just spun up a 20.04 vm with squid, only issue i am having is trying it to get it to start with systemd. when i start it, it'll sit there for a while (it appears to be running and serving pages), but then it just stops [19:43] theGoat_: installed how? which virtualization? what exactly stops? [19:43] romreny: running on esxi, and it's squid that's stopping [19:45] thanks for answering two of three questions. feel free to also answer the third. [19:46] oh my bad. compiled squid from source [19:46] hmm, i guess that puts you into exclusive charge of making it work. have you checked the logs? [19:49] you could strace it and see what it stopped on [19:49] squid's usual problem is taking two minutes to shutdown when rebooting the computer [20:02] sarnold: it's just during startup and shut down. if i run it manually from a command line it's fine. [20:05] journalctl -u squid.service # might give a clue? [20:10] squid.service: Failed with result 'timeout'. [20:10] Nov 23 20:09:16 jamesmonroe systemd[1]: Failed to start Squid Web Proxy Server. [20:10] it's strange though, the whole time it's sitting there appearing to start, it's actually running [20:11] oh I wonder, did you supply your own systemd service file? [20:11] systemd has a handful of different modes for starting services, and one of them requires the application to tell systemd when it's up and running [20:15] i grabbed the one from the squid source when i built it [20:15] https://pastebin.com/dfetwLp4 [20:16] systemd is all really new to me, so i am kind of lost on how it works [20:17] theGoat_: https://www.freedesktop.org/software/systemd/man/systemd.service.html#NotifyAccess= [20:18] theGoat_: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type= [20:18] theGoat_: do you need to do anything to tell squid to use these apis? when you built it did you configure this API? [20:19] no, i didn't specify any of that [20:19] ah [20:36] think i got it. i set type to forking, and adjusted a few other things and all seems good now. [20:37] nice