projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e69a90
)
16552: Use fpm features to manage systemd unit.
author
Tom Clegg <tom@curii.com>
Thu, 30 Jun 2022 15:11:44 +0000
(11:11 -0400)
committer
Tom Clegg <tom@curii.com>
Thu, 30 Jun 2022 15:11:44 +0000
(11:11 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
cmd/arvados-package/fpm.go
patch
|
blob
|
history
diff --git
a/cmd/arvados-package/fpm.go
b/cmd/arvados-package/fpm.go
index d81abab583cc78a3ddb5b0421ee38963d8187f83..4c9a00619e7e15cb328e381c4a6967196fb89d9c 100644
(file)
--- a/
cmd/arvados-package/fpm.go
+++ b/
cmd/arvados-package/fpm.go
@@
-97,7
+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",
- "/etc/systemd/system/multi-user.target.wants/arvados.service",
+ "--deb-systemd", "/etc/systemd/system/multi-user.target.wants/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",