1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Michal Schmidt
91b684c730 rc-local: order after network.target
As suggested by Bill Nottingham: rc.local is often used for frobbing the
network.

https://bugzilla.redhat.com/show_bug.cgi?id=754789
2011-12-02 11:32:52 +01:00
Michal Schmidt
e951701a4d rc-local: no need to check if the script is executable
rc-local.service is pulled in by a generator only if the script is
executable. No need to check again.
2011-12-02 11:32:04 +01:00
Michal Schmidt
1567308317 add a generator to pull rc-local.service in
rc-local.service acts as an ordering barrier even if its condition is
false, because conditions are evaluated when the service is about to be
started.

To avoid the ordering barrier in a legacy-free system, add a generator
to pull rc-local.service into the transaction only if the script is
executable.

If/when we rewrite SysV compatibility into a generator, this one can become
a part of it.
2011-12-02 11:29:48 +01:00
Michal Schmidt
42c3673e63 units/suse: let rc-local.service log to syslog
Same change as the previous commit did for Fedora. fcrozat agreed.
2011-11-09 10:10:38 +01:00
Lennart Poettering
82e487c56d unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn 2011-07-12 04:25:02 +02:00
Frederic Crozat
a268a6a38f units: add units for boot.local/halt.local on SUSE distributions. 2011-07-12 00:15:35 +02:00
Lennart Poettering
997a624029 units: get rid of empty units/suse/ subdir 2011-03-18 04:53:31 +01:00
Tom Gundersen
72de7bbf39 fsck: remove symlink from fsck.target to sysinit.target 2010-10-25 22:02:52 +02:00
Lennart Poettering
46574a5b4a units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
Lennart Poettering
02ee865a46 service: rename ValidNoProcess= to RemainAfterExit= 2010-08-17 19:37:36 +02:00
Lennart Poettering
34e9ba669e service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering
8519e861a8 units: add missing fsck.target file 2010-08-06 01:32:16 +02:00
Kay Sievers
00a11ba982 units: suse - reboot: do not wait for tty 2010-08-04 14:21:01 +02:00
Lennart Poettering
172f6478b3 units: update other distro units to recent fedora changes 2010-07-13 21:30:38 +02:00
Lennart Poettering
983d9c9015 units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due to the impact minimizer 2010-07-11 04:22:00 +02:00
Lennart Poettering
b827a9f97d units: turn shutdown dependencies from Requires into Wants to make things a bit more robust 2010-07-10 04:52:31 +02:00
Kay Sievers
f8e1755297 units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown 2010-07-09 11:53:39 +02:00
Lennart Poettering
455bb5a4bd units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise 2010-07-09 04:37:13 +02:00
Lennart Poettering
07405e9096 units: in order to make the default services parseable by GKeyFile, merge repeated lines 2010-07-07 22:29:41 +02:00
Lennart Poettering
af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +02:00
Lennart Poettering
9a9a438596 units: tear down sys-kernel-security.automount automount point on shutdown 2010-06-02 00:58:10 +02:00
Kay Sievers
65b0095b1c units: add SUSE service files 2010-06-02 00:53:39 +02:00