Re: [systemd-devel] OnFailure=

2018-03-07 Thread Andrei Borzenkov
08.03.2018 02:37, Jakob Schürz пишет: > Hi there! > > I build a test-unit > > # cat [email protected] > [Unit] > Description=Testservice notification > OnFailure=notification-telegram@%n.service > > [Service] > Type=simple > Restart=on-failure > #RestartSec=2 > ExecStart=/bin/%i > SyslogIdentifier=t

[systemd-devel] OnFailure=

2018-03-07 Thread Jakob Schürz
Hi there! I build a test-unit # cat [email protected] [Unit] Description=Testservice notification OnFailure=notification-telegram@%n.service [Service] Type=simple Restart=on-failure #RestartSec=2 ExecStart=/bin/%i SyslogIdentifier=test@%i.service StartLimitBurst=5 StartLimitInterval=10 And the not

Re: [systemd-devel] Create a target unit to start & stop a group of services

2018-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 06, 2018 at 03:07:30AM +, 林自均 wrote: > Anyone? > > John Lin > > 林自均 於 2018年2月27日 週二 下午6:20寫道: > > > Hi Jérémy, > > > > Thank you, but I read the section "Mapping of unit properties to their > > inverses" in the man page > > https://www.freedesktop.org/software/systemd/man/system