summaryrefslogtreecommitdiff
path: root/src/systemctl/systemd-sysv-install.SKELETON
Commit message (Collapse)AuthorAgeFilesLines
* systemd-sysv-install: change license to MIT-0Zbigniew Jędrzejewski-Szmek2022-10-261-1/+1
| | | | | | | | | | See parent commit for explanation. git blame shows Martin Pitt is the author of the code. (I was considering whether we should instead drop this file, but it's still useful for *distributions*. Eveen if we discourage people from using sysv scripts, distributions will have to deal with them for a while yet.)
* sysv-install.skeleton: use CC0 as the licenseZbigniew Jędrzejewski-Szmek2021-01-271-0/+2
| | | | | We didn't specify any license, which made the script awkward to use. Let's be maximally permissive. CC0 is used for other documentation-code already.
* systemd-sysv-install: unset ROOT rather than setting it to ""Lennart Poettering2018-02-271-1/+1
| | | | | | | Follow-up for #8264. It's cleaner to pass no env var at all to forked off processes rather than an empty one.
* systemd-sysv-install: avoid using ROOT variable from the environmentZbigniew Jędrzejewski-Szmek2018-02-231-0/+2
| | | | Fixes #8180.
* systemctl: drop hardcoded chkconfig invocationMartin Pitt2015-05-281-0/+47
Introduce /usr/lib/systemd/systemd-sysv-install [--root=] <action> <name> abstraction, replacing the direct calling of chkconfig. This allows distributions to call their specific tools like update-rc.d without patching systemd. Ship systemd-sysv-install.SKELETON as an example for packagers how to implement this. Drop the --enable-chkconfig configure option. Document this in README and point to it in NEWS.