From 048e5a82daf3c1cfee5901fd078f20b6ab57677f Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 15 Sep 2016 09:38:43 +0200 Subject: [PATCH] httpd link --- doraemon.spec | 2 ++ root/usr/sbin/doraemon | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 120000 root/usr/sbin/doraemon diff --git a/doraemon.spec b/doraemon.spec index 5244199..91261bf 100644 --- a/doraemon.spec +++ b/doraemon.spec @@ -88,6 +88,8 @@ fi %post /etc/e-smith/events/actions/initialize-default-databases +[ -e /usr/sbin/doraemon ] && [ ! -L /usr/sbin/doraemon ] && rm /usr/sbin/doraemon +[ ! -L /usr/sbin/doraemon ] && ln -s httpd /usr/sbin/doraemon if [ "$1" = 1 ]; then #installation /sbin/e-smith/db configuration set %{name} service status enabled TCPPort 3000 access private DefaultRole client DomainFile /etc/domain.yml ManagementKeyFile /home/amgmt/.ssh/id_rsa.pub NamingBase lab NamingDigits 2 VaultPassFile /home/amgmt/.ansible/vault.txt diff --git a/root/usr/sbin/doraemon b/root/usr/sbin/doraemon deleted file mode 120000 index 558a907..0000000 --- a/root/usr/sbin/doraemon +++ /dev/null @@ -1 +0,0 @@ -httpd \ No newline at end of file