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