From 88d27f3a9457019a5d3f109dec88606a79ea14bd Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Sun, 8 Jan 2017 13:35:07 +0100 Subject: net-nds/389-ds-base: remove unused files --- net-nds/389-ds-base/files/restart-dirsrv | 30 ------------------------------ net-nds/389-ds-base/files/start-dirsrv | 14 -------------- 2 files changed, 44 deletions(-) delete mode 100644 net-nds/389-ds-base/files/restart-dirsrv delete mode 100644 net-nds/389-ds-base/files/start-dirsrv (limited to 'net-nds/389-ds-base') diff --git a/net-nds/389-ds-base/files/restart-dirsrv b/net-nds/389-ds-base/files/restart-dirsrv deleted file mode 100644 index 90654eca170a..000000000000 --- a/net-nds/389-ds-base/files/restart-dirsrv +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# Script that restarts the ns-slapd server. -# Exit status can be: -# 0: Server restarted successfully -# 1: Server could not be started -# 2: Server started successfully (was not running) -# 3: Server could not be stopped - -sleep_time=8 -/etc/init.d/389-ds status &> /dev/null -running="${?}" - -rc-config stop 389-ds -if [ "${?}" = "1" ]; then - sleep ${sleep_time} - exit 3 -fi -rc-config start 389-ds -if [ "${?}" = "1" ]; then - sleep ${sleep_time} - exit 1 -fi -if [ "${running}" = "0" ]; then - sleep ${sleep_time} - exit 0 -else - sleep ${sleep_time} - exit 2 -fi diff --git a/net-nds/389-ds-base/files/start-dirsrv b/net-nds/389-ds-base/files/start-dirsrv deleted file mode 100644 index 45c2a6c2c7d4..000000000000 --- a/net-nds/389-ds-base/files/start-dirsrv +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Script that starts the ns-slapd server. -# Exit status can be: -# 0: Server started successfully -# 1: Server could not be started -# 2: Server already running - -rc-config stop 389-ds -rc-config start 389-ds -rc="${?}" -# give the daemon a chance to start -sleep 8 -exit "${rc:-1}" -- cgit v1.2.3-65-gdbad