Created
August 18, 2011 22:23
-
-
Save donpdonp/1155415 to your computer and use it in GitHub Desktop.
rc-svcdir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mount | |
rootfs on / type rootfs (rw) | |
/dev/root on / type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered,discard) | |
devtmpfs on /dev type devtmpfs (rw,relatime,size=1017228k,nr_inodes=254307,mode=755) | |
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) | |
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) | |
... | |
$ ls /lib64/rc/init.d/daemons/ | |
nginx/ php-fpm/ sshd/ udev/ | |
$ ls /lib64/rc/init.d/daemons/* | |
/lib64/rc/init.d/daemons/nginx: | |
001 | |
/lib64/rc/init.d/daemons/php-fpm: | |
001 | |
/lib64/rc/init.d/daemons/sshd: | |
001 | |
/lib64/rc/init.d/daemons/udev: | |
001 | |
donp@sirius ~ $ cat /lib64/rc/init.d/daemons/nginx/001 | |
exec=/usr/sbin/nginx | |
argv_0=/usr/sbin/nginx | |
argv_1=-c | |
argv_2=/etc/nginx/nginx.conf | |
pidfile=/var/run/nginx.pid | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment