[systemd-devel] systemd-run and -p ProtectSystem=ful
Reindl Harald
h.reindl at thelounge.net
Mon Jul 25 17:26:06 UTC 2016
just upgraded to Fedora 24
/usr/bin/systemd-run -t --service-type=oneshot --quiet --nice=19
--unit=spamfilter-fetch-samples --description=spamfilter-fetch-samples
-p ProtectSystem=full /usr/bin/php /scripts/test.php
don't log anything useful or return anything, calling a shellscript
which is using "systemd-run" don't return to the shell while journalctl
pretends it got executed and has finished
removing "-p ProtectSystem=full" as in F23 works
Jul 25 19:23:51 mail-gw.thelounge.net systemd[1]: Starting
spamfilter-fetch-samples...
Jul 25 19:23:51 mail-gw.thelounge.net systemd[1]: Started
spamfilter-fetch-samples.
Jul 25 19:24:21 mail-gw.thelounge.net systemd[1]: Starting
spamfilter-fetch-samples...
Jul 25 19:24:21 mail-gw.thelounge.net systemd[1]: Started
spamfilter-fetch-samples.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160725/b5a568c7/attachment.sig>
More information about the systemd-devel
mailing list