diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-17 20:03:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-17 21:25:42 +0200 |
commit | 0ce8860a15fb08ac358fb9c5347bd20c0bcdebcd (patch) | |
tree | 6b1ccde887e06b68ad2dfa892f4e3ab3e16578a5 /docs/sysvinit | |
parent | loginctl: show pager also for status command (diff) | |
download | systemd-0ce8860a15fb08ac358fb9c5347bd20c0bcdebcd.tar.xz systemd-0ce8860a15fb08ac358fb9c5347bd20c0bcdebcd.zip |
docs: install README files into /var/log and 7etc/rc.d/init.d
On systemd systems seasoned admins might be surprised to see that the
init scripts and log files are gone. To ease the transition let's place
some README files there, that hopefully help clearing up the situation.
Diffstat (limited to 'docs/sysvinit')
-rw-r--r-- | docs/sysvinit/.gitignore | 1 | ||||
l--------- | docs/sysvinit/Makefile | 1 | ||||
-rw-r--r-- | docs/sysvinit/README.in | 27 |
3 files changed, 29 insertions, 0 deletions
diff --git a/docs/sysvinit/.gitignore b/docs/sysvinit/.gitignore new file mode 100644 index 0000000000..c3fea7424f --- /dev/null +++ b/docs/sysvinit/.gitignore @@ -0,0 +1 @@ +/README diff --git a/docs/sysvinit/Makefile b/docs/sysvinit/Makefile new file mode 120000 index 0000000000..50be21181f --- /dev/null +++ b/docs/sysvinit/Makefile @@ -0,0 +1 @@ +../../src/Makefile
\ No newline at end of file diff --git a/docs/sysvinit/README.in b/docs/sysvinit/README.in new file mode 100644 index 0000000000..996402d06b --- /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 + http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities |