Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3e9905bb
Commit
3e9905bb
authored
Oct 08, 2015
by
He Simei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix incorrect upstart script for ubuntu
parent
7324cd68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
flanneld
cluster/ubuntu/master/init_scripts/flanneld
+4
-4
kube-controller-manager
cluster/ubuntu/master/init_scripts/kube-controller-manager
+2
-2
flanneld
cluster/ubuntu/minion/init_scripts/flanneld
+4
-4
No files found.
cluster/ubuntu/master/init_scripts/flanneld
View file @
3e9905bb
...
...
@@ -69,22 +69,22 @@ case "$1" in
start
)
fail_unless_root
log_begin_msg
"Starting
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_START
$
FLANNEL
_START
log_end_msg
$?
;;
stop
)
fail_unless_root
log_begin_msg
"Stopping
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_STOP
$
FLANNEL
_STOP
log_end_msg
$?
;;
restart
|
force-reload
)
fail_unless_root
log_begin_msg
"Stopping
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_STOP
$
KUBE_APISERVER
_START
$
FLANNEL
_STOP
$
FLANNEL
_START
log_end_msg
$?
;;
...
...
cluster/ubuntu/master/init_scripts/kube-controller-manager
View file @
3e9905bb
...
...
@@ -9,7 +9,7 @@ set -e
# Should-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: Start kube-controller-managerservice
# Short-Description: Start kube-controller-manager
service
# Description:
# http://www.github.com/GoogleCloudPlatform/Kubernetes
### END INIT INFO
...
...
@@ -59,7 +59,7 @@ KUBE_CONTROLLER_MANAGER_START="start-stop-daemon
--make-pidfile
\
--pidfile
$KUBE_CONTROLLER_MANAGER_PIDFILE
\
--
$KUBE_CONTROLLER_MANAGER_OPTS
\
>>
"
$KUBE_CONTROLLER_MANAGER_LOGFILE
" 2>&1
>>
$KUBE_CONTROLLER_MANAGER_LOGFILE
2>&1"
KUBE_CONTROLLER_MANAGER_STOP
=
"start-stop-daemon
\
--stop
\
...
...
cluster/ubuntu/minion/init_scripts/flanneld
View file @
3e9905bb
...
...
@@ -69,22 +69,22 @@ case "$1" in
start
)
fail_unless_root
log_begin_msg
"Starting
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_START
$
FLANNEL
_START
log_end_msg
$?
;;
stop
)
fail_unless_root
log_begin_msg
"Stopping
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_STOP
$
FLANNEL
_STOP
log_end_msg
$?
;;
restart
|
force-reload
)
fail_unless_root
log_begin_msg
"Stopping
$FLANNEL_DESC
:
$BASE
"
$
KUBE_APISERVER
_STOP
$
KUBE_APISERVER
_START
$
FLANNEL
_STOP
$
FLANNEL
_START
log_end_msg
$?
;;
...
...
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