]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/template/inspircd
Merge pull request #1181 from SaberUK/insp20+null
[user/henk/code/inspircd.git] / make / template / inspircd
index 322ee2cd6894eaf79b7d944306022c7786121836..b43ad60c9ecbb67981cf36258dc765964c36b860 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
+# InspIRCd          Start up the InspIRCd Internet Relay Chat Daemon
+#
+# chkconfig: 2345 55 25
+# description: InspIRCd -- Internet Relay Chat Daemon
+#
+# processname: inspircd
 
 use strict;
 use POSIX;
@@ -129,7 +135,7 @@ sub cmd_rehash()
 
 sub cmd_cron()
 {
-       if (getstatus() == 0) { goto &cmd_start(); }
+       if (getstatus() == 0) { goto &cmd_start(@_); }
        exit();
 }
 
@@ -143,7 +149,7 @@ sub cmd_restart(@)
 {
        cmd_stop();
        unlink($pidfile) if (-e $pidfile);
-       goto &cmd_start;
+       goto &cmd_start(@_);
 }
 
 sub hid_cheese_sandwich()