Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
cc4c66bf
Commit
cc4c66bf
authored
Jul 18, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing old template
parent
412d119b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
66 deletions
+0
-66
playbooks/roles/forum/templates/cs_comments_service.conf
+0
-66
No files found.
playbooks/roles/forum/templates/cs_comments_service.conf
deleted
100644 → 0
View file @
412d119b
#!/bin/sh
### BEGIN INIT INFO
# Provides: seismic_web
# Required-Start: $local_fs $syslog
# Required-Stop: $local_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Gunicorn processes for seismic_web
### END INIT INFO
# www-data is the default www user on debian
USER
=
forums
NAME
=
"cs_comments_service"
RETVAL
=
0
DAEMON
=/
opt
/
www
/.
rbenv
/
versions
/
1
.
9
.
3
-
p374
/
bin
/
ruby
PID
=/
var
/
tmp
/
cs_comments_service
.
pid
OPTIONS
=
"app.rb"
# source function library
. /
lib
/
lsb
/
init
-
functions
start
()
{
echo
"Starting $NAME."
cd
/
opt
/
wwc
/
cs_comments_service
start
-
stop
-
daemon
-
b
--
start
--
pidfile
$
PID
-
m
-
c
$
USER
--
exec
$
DAEMON
-- $
OPTIONS
}
stop
()
{
if
[ -
f
$
PID
];
then
echo
"Stopping $NAME"
kill
$(
cat
$
PID
)
fi
}
reload
()
{
echo
"Reloading $NAME:"
if
[ -
f
$
PID
]
then
kill
-
HUP
`
cat
$
PID
` &&
echo
"OK"
||
echo
"failed"
;
fi
}
case
"$1"
in
start
)
start
;;
stop
)
stop
;;
restart
)
reload
;;
reload
)
reload
;;
force
-
reload
)
stop
&&
start
;;
*)
echo
"Usage: $0 {start|stop|restart}"
RETVAL
=
1
esac
exit
$
RETVAL
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