chiark / gitweb /
units: remove RefuseManualStart from units which are always around
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 28 Jun 2014 04:06:30 +0000 (00:06 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 28 Jun 2014 04:06:30 +0000 (00:06 -0400)
commit0fdeb6e011dfdb17636c81e2d7e0d632186359ce
tree2a05105066042201236d18e87b0af913fdec6993
parent102bd40e1ed71c7ab980a90435a1c23d4c786c63
units: remove RefuseManualStart from units which are always around

In a normal running system, non-passive targets and units used during
early bootup are always started. So refusing "manual start" for them
doesn't make any difference, because a "start" command doesn't cause
any action.

In early boot however, the administrator might want to start on
of those targets or services by hand. We shouldn't interfere with that.

Note: in case of systemd-tmpfiles-setup.service, really running the
unit after system is up would break the system. So e.g. restarting
should not be allowed. The unit has "RefuseManualStop=yes", which
prevents restart too.
units/basic.target
units/sysinit.target
units/systemd-tmpfiles-setup.service.in
units/user/basic.target