[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd unit als letztes starten?



Marc Haber <mh+debian-user-german@zugschlus.de> wrote:

> Was muss ich in eine systemd-unit schreiben, die das Script wirklich
> erst ausführt, wenn sonst alle Units gestartet wurden? Oder ist ein
> "sleep 120" oben im Script die beste Lösung?

https://www.freedesktop.org/software/systemd/man/systemd.service.html

,----
| Type=
| Configures the process start-up type for this service unit. One of
| simple, forking, oneshot, dbus, notify or idle.
| [...]
| Behavior of idle is very similar to simple; however, actual execution of
| the service binary is delayed until all jobs are dispatched. This may be
| used to avoid interleaving of output of shell services with the status
| output on the console.
`----

S°

-- 
Sigmentation fault. Core dumped.


Reply to: