From 5fdf492ccc3c104bd35c10cb2116cfe409dea4fc Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Sat, 11 Aug 2018 07:19:44 +0900 Subject: [PATCH] dist/debian: fix install scylla-server.service On previous commit we moved debian/scylla-server.service to debian/scylla-server.scylla-server.service to explicitly specify subpackage name, but it doesn't work for dh_installinit without '--name' option. Result of that current scylla-server .deb package missing scylla-server.service, so we need to rename the service to original file name. Fixes #3675 Signed-off-by: Takuya ASADA Message-Id: <20180810221944.24837-1-syuu@scylladb.com> (cherry picked from commit f30b7018722b68e13eea4efc23e30476d44e50cc) --- dist/debian/build_deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/debian/build_deb.sh b/dist/debian/build_deb.sh index 596e8c0007..f10b6478fc 100755 --- a/dist/debian/build_deb.sh +++ b/dist/debian/build_deb.sh @@ -159,7 +159,7 @@ pystache dist/debian/scylla-conf.preinst.mustache "{ \"version\": \"$SCYLLA_VERS chmod a+rx debian/rules if [ "$TARGET" != "trusty" ]; then - pystache dist/common/systemd/scylla-server.service.mustache "{ $MUSTACHE_DIST }" > debian/scylla-server.scylla-server.service + pystache dist/common/systemd/scylla-server.service.mustache "{ $MUSTACHE_DIST }" > debian/scylla-server.service pystache dist/common/systemd/scylla-housekeeping-daily.service.mustache "{ $MUSTACHE_DIST }" > debian/scylla-server.scylla-housekeeping-daily.service pystache dist/common/systemd/scylla-housekeeping-restart.service.mustache "{ $MUSTACHE_DIST }" > debian/scylla-server.scylla-housekeeping-restart.service cp dist/common/systemd/scylla-fstrim.service debian/scylla-server.scylla-fstrim.service