Changeset 29914 in project


Ignore:
Timestamp:
10/13/13 19:36:52 (8 years ago)
Author:
Timusan
Message:

Added Red Hat derivatives "chkconfig" support to the Spiffy init.d script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/spiffy-init-script

    r29911 r29914  
    1 Here's an example init.d script for [[/egg/spiffy|Spiffy the webserver]], for use on Debian derivatives (created by [[/users/mario-domenech-goulart|Mario Domenech Goulart]])
     1Here's an example init.d script for [[/egg/spiffy|Spiffy the webserver]], for use on Debian derivatives (created by [[/users/mario-domenech-goulart|Mario Domenech Goulart]]).
     2
     3This script has also been prepared to play well with the "chkconfig" command on Red Hat derivatives (Fedora, CentOS, ...).
    24
    35<enscript highlight="shell">
    46#! /bin/sh
    57# -*- shell-script -*-
     8
     9# Make this script chkconfig compliant, start with runlevel 2345, exit prio 95 (lower) start prio 20 (higher)
     10# chkconfig: 2345 95 20
     11# description: Control script for the Spiffy CHICKEN webserver
     12# processname: spiffy
     13
    614
    715# This is /etc/init.d/spiffy on Debian systems
Note: See TracChangeset for help on using the changeset viewer.