[Pkg-puppet-devel] Bug#714202: [Pkg-systemd-maintainers] Bug#714202: puppet: [PATCH] improve systemd packaging, use dh-systemd

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Jun 26 19:24:56 UTC 2013


On Wed, Jun 26, 2013 at 08:59:38PM +0200, Michael Stapelberg wrote:
> diff --git a/debian/puppet.service b/debian/puppet.service
> index a168128..1607745 100644
> --- a/debian/puppet.service
> +++ b/debian/puppet.service
> @@ -6,7 +6,6 @@ After=basic.target
>  [Service]
>  Type=forking
>  PIDFile=/run/puppet/agent.pid
> -ExecStartPre=/usr/bin/install -d -o puppet -m 755 /run/puppet
>  ExecStart=/usr/bin/puppet agent
>  
>  [Install]
> diff --git a/debian/puppet.tmpfile b/debian/puppet.tmpfile
> new file mode 100644
> index 0000000..867cb08
> --- /dev/null
> +++ b/debian/puppet.tmpfile
> @@ -0,0 +1 @@
> +d /var/run/puppet 0755 puppet root - -

Hm, why the backwards move to /var/run?

> diff --git a/debian/puppet.service b/debian/puppet.service
> index 1607745..f239c4d 100644
> --- a/debian/puppet.service
> +++ b/debian/puppet.service
> @@ -5,7 +5,7 @@ After=basic.target
>  
>  [Service]
>  Type=forking
> -PIDFile=/run/puppet/agent.pid
> +PIDFile=/var/run/puppet/agent.pid
>  ExecStart=/usr/bin/puppet agent

Zbyszek



More information about the Pkg-puppet-devel mailing list