by dghubble on 10/26/22, 4:14 PM with 53 comments
by CGamesPlay on 10/26/22, 6:32 PM
Here’s the unit I ended up with: https://github.com/CGamesPlay/infra/blob/master/private-serv...
by SoftTalker on 10/26/22, 8:12 PM
You have to deal with crash/power failure recovery anyway. So do your housekeeping on startup. Shutdown should be a quick and simple termination.
by akeck on 10/26/22, 5:20 PM
by MarkusWandel on 10/27/22, 12:37 PM
TimeoutStopSec=0
That's cost me more than one hard power button powerdon (on a desktop machine with the system partition on SSD - unnerving).One of the innumerable things that systemd stops on shutdown gets stuck - permanently - and the machine goes into a state out of which, to my knowledge, is only a powerdown or reset.
I ended up searching for the above and replacing them with a reasonable timeout (several minutes).
by rfmoz on 10/27/22, 7:09 AM
By definition, it sends a SIGTERM signal to all of the daemons that it started. But as the script isn't started before, and doesn't keep a running PID, you don't have a clean way to do it.
I don't understand why they only implemented the SIGTERM call without any alternative.
by SrslyJosh on 10/26/22, 10:01 PM
Edit: Note that my example runlevels are for Solaris, other UNIX/Linux OSes will vary.
by kzrdude on 10/26/22, 6:03 PM
by exikyut on 10/26/22, 9:18 PM
Chrome is giving me an instant NXDOMAIN error.
Dig shows that
$ dig psdn.io @1.1.1.1
...
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19283
...
;; QUESTION SECTION:
;psdn.io. IN A
so then I prefix "www." like is in the URL... $ dig www.psdn.io @1.1.1.1
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 64024
...
;; QUESTION SECTION:
;www.psdn.io. IN A
;; ANSWER SECTION:
www.psdn.io. 300 IN CNAME poseidon-www.pages.dev.
Okay, fine: $ dig poseidon-www.pages.dev @1.1.1.1
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55471
...
;; QUESTION SECTION:
;poseidon-www.pages.dev. IN A
...wat??(Where there's no ANSWER section, none was returned, just an AUTHORITY section)
This is reproducible for me with 1.1.1.1, 8.8.8.8 and 9.9.9.9.