Hy!
I want to add my script in init.d which starts a server at startup but when I can't add it to chkconfig.
This is a head of my script :
#!/bin/bash
# chkconfig : 2345 19 18
# Default-Start : 2 3 4 5
# Default-Stop : 0 1 6
# Short-description: Conan C/C++ Package Manager server
# description : Conan C/C++ Package Manager server
# processname: conan_server
# Source function library.
. /etc/init.d/functions
And when I try to add it :
[root init.d]# chmod 777 conan_server
[root init.d]# chkconfig --add conan_server
-> service conan_server does not support chkconfig
Can you help me ? thanks :)