Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-28 Thread Germano Massullo
Il 27/12/20 15:00, Reindl Harald ha scritto: > > > Am 27.12.20 um 14:43 schrieb Andrei Borzenkov: >> 27.12.2020 16:26, Germano Massullo пишет: >>> Good day, I recently joined apcupsd (APC UPS Power Control Daemon) >>> package maintainers on Fedora/CentOS/RHEL. >>> After a power failure, apcupsd shu

Re: [systemd-devel] SystemD dependency problem

2020-12-28 Thread Reindl Harald
Am 22.12.20 um 14:17 schrieb Mantas Mikulėnas: As a special case, when a target has Wants= for some unit, it will automatically add an After= as well. (So from your unit's point of view, you have [Install] WantedBy=network-online.target, so you can imagine that you automatically have a Before

Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-28 Thread Reindl Harald
Am 27.12.20 um 15:40 schrieb Andrei Borzenkov: 27.12.2020 17:00, Reindl Harald пишет: Am 27.12.20 um 14:43 schrieb Andrei Borzenkov: 27.12.2020 16:26, Germano Massullo пишет: Good day, I recently joined apcupsd (APC UPS Power Control Daemon) package maintainers on Fedora/CentOS/RHEL. After

Re: [systemd-devel] require a system service unit to start a user service as a dependency

2020-12-28 Thread Reindl Harald
Am 24.12.20 um 11:38 schrieb John: On Thu, Dec 24, 2020 at 3:29 AM Andrei Borzenkov wrote: On Thu, Dec 24, 2020 at 5:48 AM John wrote: I need to have the following start /usr/lib/systemd/user/pulseaudio.service so it can make use of pulseaudio. Using a After= or Wants= does not work. W

Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-28 Thread Reindl Harald
Am 27.12.20 um 14:43 schrieb Andrei Borzenkov: 27.12.2020 16:26, Germano Massullo пишет: Good day, I recently joined apcupsd (APC UPS Power Control Daemon) package maintainers on Fedora/CentOS/RHEL. After a power failure, apcupsd shuts down the system with a command almost identical to shutdow

Re: [systemd-devel] SystemD dependency problem

2020-12-28 Thread Reindl Harald
Am 22.12.20 um 12:17 schrieb Ronald Wimmer: On a server running OL 7.9 with SystemD 219 we have a custom SystemD service we have something like [Unit] Requires=network.target docker.service [Service] Restart=always RestartSec=10 TimeoutSec=300 WorkingDirectory=/data/someapplication ExecSta

Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-28 Thread Germano Massullo
Il 27/12/20 15:40, Andrei Borzenkov ha scritto: > 27.12.2020 17:00, Reindl Harald пишет: >> >> Am 27.12.20 um 14:43 schrieb Andrei Borzenkov: >>> 27.12.2020 16:26, Germano Massullo пишет: Good day, I recently joined apcupsd (APC UPS Power Control Daemon) package maintainers on Fedora/Cent