Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 0e0daaa

Browse files
authored
correct systemctl path (#1544)
1 parent 5db68ea commit 0e0daaa

File tree

33 files changed

+33
-33
lines changed

33 files changed

+33
-33
lines changed

container-templates/docker-compose/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

container-templates/dockerfile/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/azure-ansible/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/azure-bicep/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/azure-cli/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/azure-terraform/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/bazel/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/codespaces-linux/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/dart/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

containers/debian/.devcontainer/library-scripts/common-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ cat << 'EOF' > /usr/local/bin/systemctl
287287
#!/bin/sh
288288
set -e
289289
if [ -d "/run/systemd/system" ]; then
290-
exec /bin/systemctl/systemctl "$@"
290+
exec /bin/systemctl "$@"
291291
else
292292
echo '\n"systemd" is not running in this container due to its overhead.\nUse the "service" command to start services instead. e.g.: \n\nservice --status-all'
293293
fi

0 commit comments

Comments
 (0)