Commit 3265eafe authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Make init script compatible with chkconfig.

parent 12c4ad86
#!/bin/bash #!/bin/bash
# #
# /etc/rc.d/init.d/<servicename> # re6stnet Resilient, Scalable, IPv6 Network application
# #
# <description of the *service*> # chkconfig: 2345 08 92
# <any general comments about this init script> # description: Start, stops and restart re6stnet
# #
# <tags -- see below for tag definitions. *Every line* from the top # config: /etc/re6stnet/re6stnet.cfg
# of the file to the end of the tags section must begin with a # #
# character. After the tags section, there should be a blank line. ### BEGIN INT INFO
# This keeps normal comments in the rest of the file from being # Provides: re6stnet
# mistaken for tags, should they happen to fit the pattern.> # Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start, stops and restart re6stnet
# Description: Start, stops and restart re6stnet
### END INIT INFO
# PATH should only include /usr/* if it runs after the mountnfs.sh script # PATH should only include /usr/* if it runs after the mountnfs.sh script
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment