Browse code

Makefile: kamailio user home dir set to /var/run/kamailio for install-initd-centos

- affects the useradd command
- it was pointing to lib dir

Daniel-Constantin Mierla authored on 19/06/2015 10:06:30
Showing 1 changed files
... ...
@@ -999,7 +999,7 @@ install_initd_centos install-initd-centos:
999 999
 		> /etc/default/$(NAME)
1000 1000
 	/usr/sbin/groupadd -r $(NAME)
1001 1001
 	/usr/sbin/useradd -r -g $(NAME) -s /bin/false -c "Kamailio Daemon" \
1002
-                  -d ${lib_prefix}/${lib_dir} $(NAME)
1002
+                  -d /var/run/$(NAME) $(NAME)
1003 1003
 
1004 1004
 .PHONY: dbschema
1005 1005
 dbschema: