summaryrefslogtreecommitdiff
path: root/units/poweroff.target
Commit message (Collapse)AuthorAgeFilesLines
* Add SPDX license headers to unit filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* units: restore job timeouts for poweroff and rebootZbigniew Jędrzejewski-Szmek2014-11-061-0/+2
| | | | | | | | It seems that there actually aren't any long running tasks which are performed at shutdown. If it turns out that there actually are, this should be revisited. This reverts most of commit 038193efa6.
* units: disable job timeoutsZbigniew Jędrzejewski-Szmek2014-11-051-2/+0
| | | | | | | | | | | | | For boot, we might kill fsck in the middle, with likely catastrophic consequences. On shutdown there might be other jobs, like downloading of updates for installation, and other custom jobs. It seems better to schedule an individual timeout on each one separately, when it is known what timeout is useful. Disable the timeouts for now, until we have a clearer picture of how we can deal with long-running jobs.
* units: define appropriate job timeout actions when boot or shutdown timeouts ↵Lennart Poettering2014-10-281-0/+2
| | | | | | | | | | | are hit Using the new JobTimeoutAction= setting make sure we power off the machine after basic.target is queued for longer than 15min but not executed. Similar, if poweroff.target is queued for longer than 30min but does not complete, forcibly turn off the system. Similar, if reboot.target is queued for longer than 30min but does not complete, forcibly reboot the system.
* units: rename halt/hibernate/kexec/poweroff/reboot/suspend to systed-xxxLennart Poettering2012-06-251-2/+2
| | | | | These service units also execute our own code, hence rename the accordingly and prefix them with systemd-
* units: introduce new Documentation= field and make use of it everywhereLennart Poettering2012-05-211-2/+1
| | | | | | | | | | This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-2/+2
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are ↵Lennart Poettering2011-03-181-1/+0
| | | | much more useful
* target: implicitly shutdown targets on shutdown, so that they are pulled ↵Lennart Poettering2010-09-031-0/+1
| | | | into the final transaction and may be used for synchronization
* unit: introduce AllowIsolate= switchLennart Poettering2010-08-301-0/+1
|
* unit: add [Install] section to various service filesLennart Poettering2010-06-181-0/+3
|
* shorten copyright header of configuration filesLennart Poettering2010-05-191-10/+0
|
* units: add distribution-specific unitsLennart Poettering2010-05-171-0/+24