Hi!

Can one somehow distinguish if,

    a) the daemon was started during boot or,
    b) (re)started by an apt-get install or upgrade?

Can this be distinguished from within the daemon itself?

The use case is here to have script that is run by systemd
'Type=oneshot' only run on boot. Not during apt-get install or upgrades.

Cheers,
Patrick

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to