chiark / gitweb /
service: allow services of Type=oneshot that specify no ExecStart= commands
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2014 16:50:42 +0000 (18:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2014 16:50:42 +0000 (18:50 +0200)
commit96fb8242cc1ef6b0e28f6c86a4f57950095dd7f1
treeab027af32c2452d075292817111425657d466f6e
parent1954ea346dc28226c0fffde848d49a297165b0a9
service: allow services of Type=oneshot that specify no ExecStart= commands

This is useful for services that simply want to run something on
shutdown, but not at bootup. They should only set ExecStop= but leave
ExecStart= unset.
man/systemd.service.xml
src/core/service.c