From 1dbc271506474fd6756098698d4835a5bdc0733d Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 18 Aug 2020 10:28:20 -0500 Subject: [PATCH] Add Install section to remote worker unit file Although the obuild-remote-worker@.service unit can be started, it can't be enabled at boot time since the `Install` section is missing in the unit file. Add a small `[Install]` section with the same `WantedBy` as osbuild-composr.service. Fixes #924. Signed-off-by: Major Hayden --- distribution/osbuild-remote-worker@.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distribution/osbuild-remote-worker@.service b/distribution/osbuild-remote-worker@.service index 0994e296d..c2cfe7f21 100644 --- a/distribution/osbuild-remote-worker@.service +++ b/distribution/osbuild-remote-worker@.service @@ -13,3 +13,6 @@ IOSchedulingClass=idle CacheDirectory=osbuild-worker # systemd >= 240 sets this, but osbuild-worker runs on earlier versions Environment="CACHE_DIRECTORY=/var/cache/osbuild-worker" + +[Install] +WantedBy=multi-user.target \ No newline at end of file