diff options
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r-- | meta/classes/systemd.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index 69eeb9ef16..8084251f13 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass | |||
@@ -31,7 +31,7 @@ if type systemctl >/dev/null 2>/dev/null; then | |||
31 | systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE} | 31 | systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE} |
32 | 32 | ||
33 | if [ -z "$D" -a "${SYSTEMD_AUTO_ENABLE}" = "enable" ]; then | 33 | if [ -z "$D" -a "${SYSTEMD_AUTO_ENABLE}" = "enable" ]; then |
34 | systemctl start ${SYSTEMD_SERVICE} | 34 | systemctl restart ${SYSTEMD_SERVICE} |
35 | fi | 35 | fi |
36 | fi | 36 | fi |
37 | } | 37 | } |