17344: Tidy systemd / fpm integration.
authorTom Clegg <tom@curii.com>
Mon, 11 Jul 2022 01:26:14 +0000 (21:26 -0400)
committerTom Clegg <tom@curii.com>
Thu, 14 Jul 2022 13:21:41 +0000 (09:21 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

cmd/arvados-package/fpm.go

index 9a20ec76fc5c8058423403ed9e6af6d9c7517b62..c58450d86a327104cc9f3a0acdd44f0fc115cf55 100644 (file)
@@ -97,11 +97,10 @@ func fpm(ctx context.Context, opts opts, stdin io.Reader, stdout, stderr io.Writ
                "--verbose",
                "--deb-use-file-permissions",
                "--rpm-use-file-permissions",
-               "--deb-systemd", "/etc/systemd/system/multi-user.target.wants/arvados.service",
+               "--deb-systemd", "/lib/systemd/system/arvados.service",
                "--deb-systemd-enable",
                "--no-deb-systemd-auto-start",
                "--no-deb-systemd-restart-after-upgrade",
-               "/lib/systemd/system/arvados.service",
                "/usr/bin/arvados-client",
                "/usr/bin/arvados-server",
                "/usr/bin/arv",