aboutsummaryrefslogtreecommitdiff
path: root/src/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/service')
-rw-r--r--src/service/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/service/service.c b/src/service/service.c
index 2545a022..18da90cd 100644
--- a/src/service/service.c
+++ b/src/service/service.c
@@ -32,6 +32,9 @@ int main(int argc, char **argv)
RC_SERVICE state, bit;
applet = basename_c(argv[0]);
+ if (rc_yesno(getenv("RC_USER_SERVICES")))
+ rc_set_user();
+
if (argc > 1)
service = argv[1];
else