summaryrefslogtreecommitdiff
path: root/src/machine/machined.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine/machined.c')
-rw-r--r--src/machine/machined.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index a2e7a30240..22eb030dee 100644
--- a/src/machine/machined.c
+++ b/src/machine/machined.c
@@ -350,10 +350,8 @@ static int run(int argc, char *argv[]) {
_cleanup_(manager_unrefp) Manager *m = NULL;
int r;
- log_set_target(LOG_TARGET_AUTO);
log_set_facility(LOG_AUTH);
- log_parse_environment();
- log_open();
+ log_setup_service();
umask(0022);