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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
2a8f0fbf
Commit
2a8f0fbf
authored
Jul 01, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make re6stnet to be a daemon process in the slapos-node script
parent
7c62a50d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
windows/scripts/slapos-node.sh
windows/scripts/slapos-node.sh
+6
-5
No files found.
windows/scripts/slapos-node.sh
View file @
2a8f0fbf
...
...
@@ -68,7 +68,7 @@ if (( $? )) ; then
echo
"No native IPv6."
echo
Check re6stnet network ...
which re6stnet
>
/dev/null 2>&1
||
show_error_exit
"Error: no re6stnet installed, please run Configure SlapOS first."
# re6st-conf --
is-needed --registry http://re6stnet.nexedi.com/
# re6st-conf --
registry http://re6stnet.nexedi.com/ --is-needed
# Check if babeld is running, so we guess whether re6stnet is running or not
ps
-ef
|
grep
-q
babeld.exe
if
((
$?
))
;
then
...
...
@@ -77,8 +77,9 @@ if (( $? )) ; then
cd
/etc/re6stnet
re6stnet @re6stnet.conf
--ovpnlog
-I
$slapos_ifname
-i
$slapos_ifname
>>
/var/log/re6stnet/slapos-node.log 2>&1 &
echo
$!
>
/var/run/slapos-node-re6stnet.pid
disown
-h
echo
"Start re6stent (pid=
$!
) in the background OK."
echo
"You can check log files in the /var/log/
slapos-node-re6stnet.log and /var/log/re6stnet
."
echo
"You can check log files in the /var/log/
re6stnet/
."
echo
echo
"Waiting re6stent network work ..."
while
true
;
do
...
...
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