diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-09-07 10:02:42 +0200 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2018-09-08 22:39:03 +0200 |
commit | 9e825ebf4f5029ae6cb072ac568d7838e0762a9e (patch) | |
tree | 4950d3f39fa29f8513a797d313ca6b48fd04c131 /docs/sysvinit | |
parent | Merge pull request #9832 from yuwata/fix-9831 (diff) | |
download | systemd-9e825ebf4f5029ae6cb072ac568d7838e0762a9e.tar.xz systemd-9e825ebf4f5029ae6cb072ac568d7838e0762a9e.zip |
docs: move doc/ to docs/
The docs/ directory is special in GitHub, since it can be used to serve GitHub
Pages from, so there's a benefit to switching to it in order to expose it
directly as a website.
Updated references to it from the documentations themselves, from the
CONTRIBUTING.md file and from Meson build files.
Diffstat (limited to 'docs/sysvinit')
-rw-r--r-- | docs/sysvinit/README.in | 27 | ||||
-rw-r--r-- | docs/sysvinit/meson.build | 11 |
2 files changed, 38 insertions, 0 deletions
diff --git a/docs/sysvinit/README.in b/docs/sysvinit/README.in new file mode 100644 index 0000000000..de5d80d902 --- /dev/null +++ b/docs/sysvinit/README.in @@ -0,0 +1,27 @@ +You are looking for the traditional init scripts in @SYSTEM_SYSVINIT_PATH@, +and they are gone? + +Here's an explanation on what's going on: + +You are running a systemd-based OS where traditional init scripts have +been replaced by native systemd services files. Service files provide +very similar functionality to init scripts. To make use of service +files simply invoke "systemctl", which will output a list of all +currently running services (and other units). Use "systemctl +list-unit-files" to get a listing of all known unit files, including +stopped, disabled and masked ones. Use "systemctl start +foobar.service" and "systemctl stop foobar.service" to start or stop a +service, respectively. For further details, please refer to +systemctl(1). + +Note that traditional init scripts continue to function on a systemd +system. An init script @SYSTEM_SYSVINIT_PATH@/foobar is implicitly mapped +into a service unit foobar.service during system initialization. + +Thank you! + +Further reading: + man:systemctl(1) + man:systemd(1) + http://0pointer.de/blog/projects/systemd-for-admins-3.html + https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities diff --git a/docs/sysvinit/meson.build b/docs/sysvinit/meson.build new file mode 100644 index 0000000000..fbac59ae49 --- /dev/null +++ b/docs/sysvinit/meson.build @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: LGPL-2.1+ + +file = configure_file( + input : 'README.in', + output : 'README', + configuration : substs) + +if conf.get('HAVE_SYSV_COMPAT') == 1 + install_data(file, + install_dir : sysvinit_path) +endif |