Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joanne Hugé
re6stnet
Commits
334144d7
Commit
334144d7
authored
Mar 19, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian: fix detection of already started daemon in init.d script
parent
bf65bc45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
debian/init.d
debian/init.d
+4
-4
No files found.
debian/init.d
View file @
334144d7
...
...
@@ -10,7 +10,7 @@
#
PATH
should
only
include
/
usr
/*
if
it
runs
after
the
mountnfs
.
sh
script
PATH
=/
sbin
:/
usr
/
sbin
:/
bin
:/
usr
/
bin
NAME
=
#
NAME
#
DESC
=
$
NAME
DESC
=
"Resilient, Scalable, IPv6 Network application"
DAEMON
=
#
DAEMON_DIR
#
/$
NAME
CONFDIR
=/
etc
/
re6stnet
PIDFILE
=/
var
/
run
/$
NAME
.
pid
...
...
@@ -35,9 +35,9 @@ do_start()
#
0
if
daemon
has
been
started
#
1
if
daemon
was
already
running
#
2
if
daemon
could
not
be
started
set
start
-
stop
-
daemon
--
start
--
quiet
--
pidfile
$
PIDFILE
--
exec
$
DAEMON
"$@"
--
test
>
/
dev
/
null
||
return
1
"$@"
--
make
-
pidfile
--
background
--
chdir
$
CONFDIR
--
@
$
NAME
.
conf
||
return
2
set
start
-
stop
-
daemon
--
quiet
--
pidfile
$
PIDFILE
"$@"
--
stop
--
test
--
name
$
NAME
&&
return
1
"$@"
--
start
--
make
-
pidfile
--
background
--
chdir
$
CONFDIR
--
exec
$
DAEMON
--
@
$
NAME
.
conf
||
return
2
}
#
...
...
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