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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
re6stnet
Commits
15b41aa8
Commit
15b41aa8
authored
Dec 06, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init.d: fix restart & force-reload when re6stnet is not bound to loopback
parent
a7ed3c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
debian/rules
debian/rules
+4
-3
No files found.
debian/rules
View file @
15b41aa8
...
@@ -32,9 +32,10 @@ override_dh_installinit:
...
@@ -32,9 +32,10 @@ override_dh_installinit:
install
-d
$(INIT)
install
-d
$(INIT)
sed
's/#NAME#/re6st-registry/; s/#DEPENDS#//; s,#DAEMON_DIR#,/usr/bin,'
\
sed
's/#NAME#/re6st-registry/; s/#DEPENDS#//; s,#DAEMON_DIR#,/usr/bin,'
\
<debian/init.d
>
$(INIT)
/re6st-registry
<debian/init.d
>
$(INIT)
/re6st-registry
sed
's/#NAME#/re6stnet/; s/#DEPENDS#/re6st-registry/; s,#DAEMON_DIR#,/usr/sbin,; /start)$$/a \
sed
's/#NAME#/re6stnet/; s/#DEPENDS#/re6st-registry/; s,#DAEMON_DIR#,/usr/sbin,; /^case/i\
cd $$CONFDIR; $$DAEMON @$$NAME.conf --test "main_interface != '
\'
lo
\'
'" || exit 0'
\
cd $$CONFDIR; $$DAEMON @$$NAME.conf --test "main_interface != '
\'
lo
\'
'" ||\
<debian/init.d
>
$(INIT)
/re6stnet
case "$$1" in start) exit 0;; restart|force-reload) set stop;; esac\
'
<debian/init.d
>
$(INIT)
/re6stnet
for
x
in
re6st-registry re6stnet
;
\
for
x
in
re6st-registry re6stnet
;
\
do
chmod
+x
$(INIT)
/
$$
x
&&
dh_installinit
--onlyscripts
--name
=
$$
x
;
\
do
chmod
+x
$(INIT)
/
$$
x
&&
dh_installinit
--onlyscripts
--name
=
$$
x
;
\
done
done
...
...
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