summaryrefslogtreecommitdiffstats
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 71f2f6f69b..d23feb94f1 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -964,9 +964,7 @@ int main(int argc, char *argv[]) {
_cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
int r;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
umask(0022);