diff --git a/recipes-extended/socket-uart/files/socket-kline.service b/recipes-extended/socket-uart/files/socket-kline.service index 1f6a717..9e5ef5f 100644 --- a/recipes-extended/socket-uart/files/socket-kline.service +++ b/recipes-extended/socket-uart/files/socket-kline.service @@ -2,6 +2,7 @@ Description=Bind kline socket with pseudo tty based on socat Requires=um-service-config.service user-module.target After=um-service-config.service user-module.target +ConditionPathExists=/etc/user-module/network.conf [Service] Type=simple diff --git a/recipes-extended/socket-uart/files/socket-lin.service b/recipes-extended/socket-uart/files/socket-lin.service index e5ccb61..e525e81 100644 --- a/recipes-extended/socket-uart/files/socket-lin.service +++ b/recipes-extended/socket-uart/files/socket-lin.service @@ -2,6 +2,7 @@ Description=Bind lin socket with pseudo tty based on socat Requires=um-service-config.service user-module.target After=um-service-config.service user-module.target +ConditionPathExists=/etc/user-module/network.conf [Service] Type=simple diff --git a/recipes-extended/socket-uart/files/socket-uart.service b/recipes-extended/socket-uart/files/socket-uart.service index d1ad89b..92e80a1 100644 --- a/recipes-extended/socket-uart/files/socket-uart.service +++ b/recipes-extended/socket-uart/files/socket-uart.service @@ -2,7 +2,7 @@ Description=Bind uart socket with pseudo tty based on socat Requires=um-service-config.service user-module.target After=um-service-config.service user-module.target - +ConditionPathExists=/etc/user-module/network.conf [Service] Type=simple diff --git a/recipes-extended/um-service-cfg/files/um-rgpio-config.service b/recipes-extended/um-service-cfg/files/um-rgpio-config.service index 5101f0a..1f52a04 100644 --- a/recipes-extended/um-service-cfg/files/um-rgpio-config.service +++ b/recipes-extended/um-service-cfg/files/um-rgpio-config.service @@ -2,6 +2,7 @@ Description=Check whether user module is present and configure user space services Requires=um-service-config.service user-module.target After=um-service-config.service user-module.target +ConditionPathExists=/etc/user-module/network.conf [Service]