init script
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> #!/bin/bash # # /etc/rc.d/init.d/rsync # rsync This shell script takes care of starting and stopping # rsync (the Rsyncd Server) # # Author: Brian Jones jonesy@cs.princeton.edu # # chkconfig: 2345 13 87 # description: rsync is the Fedora Directory Service daemon. \ # FDS can serve as a repository for (and, subsequently, a source of) \ # data for most of the resources listed in /etc/nsswitch.conf, such as \ # passwd or group entries. # Source function library. . /etc/init.d/functions #OPTIONS="-D /opt/fedora-ds/slapd-ldap -i /opt/fedora-ds/slapd-ldap/logs/pid