Skip to content

Commit d0c0669

Browse files
committed
refact: renamed services
1 parent f113a33 commit d0c0669

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎system/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ COPY cuos/lxc-swaproot/*.sh /usr/local/cuos/lxc-swaproot/
6464
COPY cuos/*.service cuos/*.socket /etc/systemd/system/
6565
RUN systemctl enable cuos-init.service && \
6666
systemctl enable cuos-api.socket && \
67-
systemctl enable cuos-application.service && \
67+
systemctl enable cuos-app.service && \
6868
ln -sf /usr/local/cuos/api.sh /usr/bin/cuos
6969

7070
RUN apt-get update && apt-get install --no-install-recommends -y \

‎system/Dockerfile.lxc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ COPY cuos/lxc-swaproot/*.sh /usr/local/cuos/lxc-swaproot/
3030
COPY cuos/*.service cuos/*.socket /etc/systemd/system/
3131
RUN systemctl enable cuos-init.service && \
3232
systemctl enable cuos-api.socket && \
33-
systemctl enable cuos-application.service && \
33+
systemctl enable cuos-app.service && \
3434
ln -sf /usr/local/cuos/api.sh /usr/bin/cuos
3535

3636
RUN apt-get update && apt-get install --no-install-recommends -y \

‎system/cuos/api.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ elif [[ "${COMMAND}" = "update" ]]; then
8989
"${SCRIPT_DIR}/init.sh" --reinit
9090

9191
touch "/data/run-update"
92-
systemctl restart cuos-application.service
92+
systemctl restart cuos-app.service
9393
fi
9494

9595
## patch - Patch the system. Provide config object.
@@ -106,7 +106,7 @@ elif [[ "${COMMAND}" = "patch" ]]; then
106106
"${SCRIPT_DIR}/init.sh" --reinit
107107

108108
touch "/data/run-update"
109-
systemctl restart cuos-application.service
109+
systemctl restart cuos-app.service
110110

111111
## patch-network-0 - Patch the network[0]. Provide config object.
112112
elif [[ "${COMMAND}" = "patch-network-0" ]]; then

‎system/cuos/factory-reset.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docker system prune -f
1111

1212
sync
1313

14-
systemctl stop cuos-application docker docker.socket
14+
systemctl stop cuos-app docker docker.socket
1515

1616

1717
echo "Cleaning up @data"

0 commit comments

Comments
 (0)