From d182a24ef635f6530a6b4ebaae3d265329729f83 Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 11 Jun 2015 23:07:02 +0300 Subject: [PATCH 1/2] two new services --- init.d/mariadb | 6 ++++++ init.d/memcached | 5 +++++ 2 files changed, 11 insertions(+) create mode 100755 init.d/mariadb create mode 100755 init.d/memcached diff --git a/init.d/mariadb b/init.d/mariadb new file mode 100755 index 0000000..32f8f1b --- /dev/null +++ b/init.d/mariadb @@ -0,0 +1,6 @@ +#!/usr/bin/env watchman + +#service_respawn='true' +service_workdir='/usr' +service_command='/usr/bin/mysqld_safe' +service_args='--datadir=/var/lib/mysql' diff --git a/init.d/memcached b/init.d/memcached new file mode 100755 index 0000000..fccc1d1 --- /dev/null +++ b/init.d/memcached @@ -0,0 +1,5 @@ +#!/usr/bin/env watchman + +#service_respawn=true +service_command='/usr/bin/memcached' +service_args='-m 64 -p 11211 -u nobody -l 127.0.0.1' From 6d33ef643d42c3bcd36da01c44b43181111d89fd Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 11 Jun 2015 23:11:56 +0300 Subject: [PATCH 2/2] and php-fpm --- init.d/php-fpm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 init.d/php-fpm diff --git a/init.d/php-fpm b/init.d/php-fpm new file mode 100755 index 0000000..078af66 --- /dev/null +++ b/init.d/php-fpm @@ -0,0 +1,5 @@ +#!/usr/bin/env watchman + +#service_respawn='true' +service_command='/usr/bin/php-fpm' +service_args='-F --fpm-config /etc/php/php-fpm.conf -c /etc/php/php.ini'