diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-02 18:13:23 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 17:44:57 +0100 |
commit | 5d7e7dc483a98a31323079953f548648a2c53cda (patch) | |
tree | 944127327ef8f32a1ca4623145a9aa7fe0b316da /src/afm-user-daemon.c | |
parent | b2cddbdc1ca61339330014092854ac33e0d9fb99 (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.c | 2 |
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; |