public
Created

rc-svcdir

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
$ 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.