Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #180108
| From | Jonathan de Boyne Pollard <j.deboynepollard-newsgroups@ntlworld.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Systemd services (was Re: If Linux Is About Choice, Why Then ...) |
| Date | 2017-04-13 23:20 +0200 |
| Message-ID | <tvUjL-fo-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Greg Wooledge: > > Suppose you want to start DJB's daemontools from a locally created systemd > unit/service. Here's a file that will do that: > ... albeit poorly. If one wants to run daemontools under systemd, svscanboot is not the way; svscanboot is a thing of the past http://jdebp.eu./FGA/inittab-is-history.html#svscanboot , and was a source of problems long before systemd was invented. Greg Wooledge: > > (The Linux kernel introduced an entirely new thing called a "cgroup" to > make this possible. That's how ridiculous self-backgrounding is.) > Control groups are not jobs http://jdebp.eu./FGA/linux-control-groups-are-not-jobs.html ; they were introduced to do resource limiting, and the systemd developers have actually complained quite a lot over the years that control groups did not turn out to be what they thought they were. Greg Wooledge: > > $ systemctl status daemontools.service > > * daemontools.service – daemontools supervisor > Loaded: loaded (/etc/systemd/system/daemontools.service; enabled) > Active: active (running) since Wed 2017-01-11 03:28:47 EST; 2 months 21 > days ago > Main PID: 529 (svscanboot) > CGroup: /system.slice/daemontools.service > |- 529 /bin/sh /command/svscanboot /dev/ttyS0 > |- 531 svscan /service > ... and there is svscanboot being a problem again. Notice how the main PID is wrong, and the log output from svscan (when there is some) does not go into the log that systemctl shows below this. Greg Wooledge: > > if you want to change the behavior of the Debian default getty@ service to > make it stop clearing the screen all the damned time, > The world wants you to clean your screen http://unix.stackexchange.com/a/233855/5132 , and this is merely one of the ways that it makes you do so.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Systemd services (was Re: If Linux Is About Choice, Why Then ...) Jonathan de Boyne Pollard <j.deboynepollard-newsgroups@ntlworld.com> - 2017-04-13 23:20 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-14 15:00 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Nicolas George <george@nsup.org> - 2017-04-14 15:40 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Dejan Jocic <jodejka@gmail.com> - 2017-04-14 16:10 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-14 16:20 +0200
Re: Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Laurent Bigonville <bigon@debian.org> - 2017-04-17 00:30 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Martin Read <zen75502@zen.co.uk> - 2017-04-14 17:40 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Jonathan Dowland <jmtd@debian.org> - 2017-04-18 00:10 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Nicholas Geovanis <nickgeovanis@gmail.com> - 2017-04-21 21:40 +0200
Fwd: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Joel Rees <joel.rees@gmail.com> - 2017-04-22 01:10 +0200
Re: Systemd services Teemu Likonen <tlikonen@iki.fi> - 2017-04-14 18:10 +0200
Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...) Joel Rees <joel.rees@gmail.com> - 2017-04-15 00:40 +0200
csiph-web