From d9339fe58e0df1ee34377271d8318b18c9907f8c Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Sat, 15 Oct 2022 23:17:16 +0200 Subject: [PATCH] Add puppet.service alias to puppet-agent.service --- ...name-sysvinit-script-to-puppet-agent.patch | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/debian/patches/0003-Rename-sysvinit-script-to-puppet-agent.patch b/debian/patches/0003-Rename-sysvinit-script-to-puppet-agent.patch index 077e804..caf70f1 100644 --- a/debian/patches/0003-Rename-sysvinit-script-to-puppet-agent.patch +++ b/debian/patches/0003-Rename-sysvinit-script-to-puppet-agent.patch @@ -7,11 +7,12 @@ service unit. The file is renamed during build. Forwarded: not-needed --- - ext/debian/puppet.init | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + ext/debian/puppet.init | 4 ++-- + ext/systemd/puppet.service | 1 + + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/debian/puppet.init b/ext/debian/puppet.init -index 8934479..1e29f58 100644 +index 8d909bc01a..73962e85b8 100644 --- a/ext/debian/puppet.init +++ b/ext/debian/puppet.init @@ -1,9 +1,9 @@ @@ -26,3 +27,15 @@ index 8934479..1e29f58 100644 # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO +diff --git a/ext/systemd/puppet.service b/ext/systemd/puppet.service +index d878746b2d..4e546620d8 100644 +--- a/ext/systemd/puppet.service ++++ b/ext/systemd/puppet.service +@@ -24,3 +24,4 @@ KillMode=process + + [Install] + WantedBy=multi-user.target ++Alias=puppet.service +-- +2.37.3 + -- 2.37.3