[init]rsync
#! /bin/bash start() { /usr/bin/rsync --daemon & } stop() { kill `cat /var/run/rsyncd.pid` } restart() { stop[......]
#! /bin/bash start() { /usr/bin/rsync --daemon & } stop() { kill `cat /var/run/rsyncd.pid` } restart() { stop[......]
包含了php-fpm进程的启动与关闭
#!/bin/sh # # nginx Startup script for nginx # # chkconfig: - 85 15 # processname: nginx # config: /opt/program/nginx/conf/n[......]
#! /bin/bash # # saslauthd Start/Stop the SASL authentication daemon # # chkconfig: - 65 10 # description: Saslauthd is a server process which ha[......]
#!/bin/bash # # postfix Postfix Mail Transfer Agent # # chkconfig: 2345 80 30 # description: Postfix is a Mail Transport Agent, which is the prog[......]
### BEGIN INIT INFO # Provides: dovecot # Required-Start: $local_fs $remote_fs $network $syslog $time # Required-Stop: $local_fs $remo[......]
#!/bin/bash # # /etc/init.d/dkim-milter # # chkconfig: - 79 21 # description: DomainKeys Identified Mail Milter # processname: dkim-filter # config:[......]
#!/bin/bash # ### BEGIN INIT INFO # Provides: vsftpd # Required-Start: $local_fs $network $named $remote_fs $syslog # Required-Stop: $local_fs $networ[......]
#!/bin/sh # # vpsmate - this script starts and stops the vpsmate daemon # # chkconfig: - 85 15 # description: VPSMate is a web-based linux VPS manag[......]
#!/bin/bash # # svnserve Startup script for the Subversion svnserve daemon # # chkconfig: - 85 15 # description: The svnserve daemon allows acc[......]
#!/bin/sh # # mysqld This shell script takes care of starting and stopping # the MySQL subsystem (mysqld). # # chkconfig: - 64 36 # description: MySQ[......]
#!/bin/bash # # httpd Startup script for the Apache HTTP Server # # chkconfig: - 85 15 # description: The Apache HTTP Server is an efficient an[......]
#!/bin/bash # # chkconfig: 345 92 08 # description: Fail2ban daemon # http://fail2ban.sourceforge.net/wiki/index.php/Main_Page # process[......]