google-code-backups / xinc

Automatically exported from code.google.com/p/xinc
0 stars 0 forks source link

updates to init script #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Under Redhat systems (and centos / fedora)
the init system uses chkcconfig to manage the symlinks into the rc#.d
directories.. adding the following 3 lines to the init script allows xinc
to be managed by that.

# chkconfig: 345 85 15
# description: Run xinc daemon
# pidfile: /var/xinc/status/xinc.pid

*note* that these are comments used by chkconfig.
an update to the xinc setup script would be to run chkconfig --add xinc

Explanation of how this works/
chkconfig: [default runlevels] [start order] [stop order]
description: [a description for the admin tools]
pidfile: [path to the pid file for status checks by admin tools]

if you do NOT want it enabled by default for any runlevels, then use a
single dash for the default runlevel. ie.

# chkconfig: - 85 15

Original issue reported on code.google.com by urkle0 on 30 May 2008 at 6:53

GoogleCodeExporter commented 8 years ago
Dang.. dup of 145.   

Wish google's issue reporter had the easy ability to search dups while entering 
an issue.

Original comment by urkle0 on 30 May 2008 at 6:55

GoogleCodeExporter commented 8 years ago
thx, will put this in

Original comment by arnos...@gmail.com on 3 Jun 2008 at 3:24

GoogleCodeExporter commented 8 years ago

Original comment by opitz.al...@googlemail.com on 17 Aug 2011 at 9:38