summaryrefslogtreecommitdiffstats
path: root/src/afm-user-daemon.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-02 18:13:23 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:57 +0100
commit5d7e7dc483a98a31323079953f548648a2c53cda (patch)
tree944127327ef8f32a1ca4623145a9aa7fe0b316da /src/afm-user-daemon.c
parentb2cddbdc1ca61339330014092854ac33e0d9fb99 (diff)
Start user units at the system level
When service name end with @ it means that the user UID must be provided. Change-Id: I6707df0151b7cab985cfc53a81fccf6a7150c9a3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-user-daemon.c')
-rw-r--r--src/afm-user-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-user-daemon.c b/src/afm-user-daemon.c
index 057f23e..ed5f2a2 100644
--- a/src/afm-user-daemon.c
+++ b/src/afm-user-daemon.c
@@ -530,7 +530,7 @@ int main(int ac, char **av)
srandom((unsigned int)time(NULL));
/* init database */
- afudb = afm_udb_create(0, 1, "afm-appli-");
+ afudb = afm_udb_create(1, 1, "afm-appli-");
if (!afudb) {
ERROR("afm_udb_create failed");
return 1;