We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2990f2b commit ad9c9d5Copy full SHA for ad9c9d5
sagemaker_ssh_helper/sm-ssh-ide
@@ -188,6 +188,13 @@ elif [[ "$1" == "start" ]]; then
188
189
if [[ "$OPTIONS" != "--ssh-only" ]]; then
190
191
+ if _is_centos; then
192
+ :
193
+ else
194
+ echo "sm-ssh-ide: Starting DBUS service"
195
+ /etc/init.d/dbus start
196
+ fi
197
+
198
echo "sm-ssh-ide: Starting VNC server"
199
vncserver :1
200
@@ -271,6 +278,12 @@ elif [[ "$1" == "stop" ]]; then
271
278
272
279
# Wait dbus to stop and terminate manually, if it didn't
273
280
sleep 5
281
282
283
284
+ echo "sm-ssh-ide: Stopping DBUS service"
285
+ /etc/init.d/dbus stop
286
274
287
pkill -f dbus-daemon || :
275
288
276
289
pkill -e Xtigervnc || :
0 commit comments