Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.package
Commits
3265eafe
Commit
3265eafe
authored
Apr 04, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Make init script compatible with chkconfig.
parent
12c4ad86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
playbook/roles/re6stnet/files/centos_6_init_d
playbook/roles/re6stnet/files/centos_6_init_d
+14
-8
No files found.
playbook/roles/re6stnet/files/centos_6_init_d
View file @
3265eafe
#!/bin/bash
#
#
/etc/rc.d/init.d/<servicename>
#
re6stnet Resilient, Scalable, IPv6 Network application
#
#
<description of the *service*>
#
<any general comments about this init script>
#
chkconfig: 2345 08 92
#
description: Start, stops and restart re6stnet
#
# <tags -- see below for tag definitions. *Every line* from the top
# 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.
# This keeps normal comments in the rest of the file from being
# mistaken for tags, should they happen to fit the pattern.>
# config: /etc/re6stnet/re6stnet.cfg
#
### BEGIN INT INFO
# Provides: re6stnet
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment