summaryrefslogtreecommitdiffstats
path: root/units/systemd-tmpfiles-clean.service.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* units: drop full paths for utilities in $PATHZbigniew Jędrzejewski-Szmek2020-01-201-22/+0
| | | | | | | This makes things a bit simpler and the build a bit faster, because we don't have to rewrite files to do the trivial substitution. @rootbindir@ is always in our internal $PATH that we use for non-absolute paths, so there should be no functional change.
* units: use symbolic exit code namesZbigniew Jędrzejewski-Szmek2019-07-291-1/+1
| | | | | (nspawn uses 133 which doesn't have a name. That's reasonable, because there's less chance of conflict with a return value from the payload.)
* units: add time-set.targetPeter A. Bigot2019-04-081-1/+1
| | | | | | | | | | | | | time-sync.target is supposed to indicate system clock is synchronized with a remote clock, but as used through 241 it only provided a system clock that was updated based on a locally-maintained timestamp. Systems that are powered off for extended periods would not come up with accurate time. Retain the existing behavior using a new time-set.target leaving time-sync.target for cases where accuracy is required. Closes #8861
* units: use SuccessExitStatus to ignore syntax errors in tmpfilesZbigniew Jędrzejewski-Szmek2017-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | This makes sense from the point of view of the whole distribution: if there are some specific files that have syntax problems, or unknown users or groups, or use unsupported features, failing the whole service is not useful. In particular, services with tmpfiles --boot should not be started after boot. The premise of --boot is that there are actions which are only safe to do once during boot, because the state evolves later through other means and re-running the boot-time setup would destroy it. If services with --boot fail in the initial transaction, they would be re-run later on when a unit which (indirectly) depends on them is started, causing problems. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1507501. (If we had a mode where a service would at most run once, and would not be started in subsequent transactions, that'd be a good additional safeguard. Using ExecStart=-... is a bit like that, but it causes all failure to be ignored, which is too big of a hammer.)
* Add SPDX license headers to unit filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* readahead: wipe out readaheadDaniel Buch2014-09-251-1/+1
|
* units: order systemd-tmpfiles-clean.service after time-sync.targetLennart Poettering2014-06-201-2/+3
| | | | | That way, on systems lacking an RTC we don't false start removing aged files too early.
* units: remove conditions from systemd-tmpfiles-setupLennart Poettering2014-06-131-5/+0
| | | | | | | | There's no point in conditionalizing systemd-tmpfiles at boot, since we ship tmpfiles snippets ourselves, hence they will always trigger anyway. Also, there's no reason to pull in local-fs.target from the service, hence drop that.
* man: link systemd-tmpfiles-setup-dev.serviceUmut Tezduyar2013-04-231-1/+1
|
* units: introduce new Documentation= field and make use of it everywhereLennart Poettering2012-05-211-0/+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.
* binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=Kay Sievers2011-04-301-1/+4
|
* tmpfiles: move binary to /bin to make it publicly availableLennart Poettering2011-02-131-1/+1
|
* units: move a couple of units from base.target to sysinit.targetLennart Poettering2010-11-191-1/+1
|
* tmpfiles: integrate kay's directory cleanup code and otherwise beef up ↵Lennart Poettering2010-10-181-0/+19
tmpfiles quite a bit