summaryrefslogtreecommitdiffstats
path: root/configuration/debian/tedge_mapper/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'configuration/debian/tedge_mapper/postinst')
-rw-r--r--configuration/debian/tedge_mapper/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration/debian/tedge_mapper/postinst b/configuration/debian/tedge_mapper/postinst
index cb473742..c6b608dc 100644
--- a/configuration/debian/tedge_mapper/postinst
+++ b/configuration/debian/tedge_mapper/postinst
@@ -25,6 +25,6 @@ install -g tedge -o tedge -m 644 /dev/null /etc/tedge/operations/c8y/c8y_Restart
install -g tedge -o tedge -m 644 /dev/null /etc/tedge/operations/c8y/c8y_LogfileRequest
### Initialize the sm mapper
-tedge_mapper --init c8y
+runuser -u tedge-mapper -- tedge_mapper --init c8y
#DEBHELPER#