David Runge pushed to branch main at Arch Linux / Packaging / Packages / gnupg


Commits:
5612c4c8 by Daan De Meyer at 2024-09-16T13:10:17+02:00
units: Condition template units on the corresponding path existing

If the path doesn't exist, we shouldn't try to create a socket in it
as it will just fail.

- - - - -


6 changed files:

- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]


Changes:

=====================================
[email protected]
=====================================
@@ -1,6 +1,7 @@
 [Unit]
 Description=GnuPG network certificate management daemon for %f
 Documentation=man:dirmngr(8)
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.dirmngr


=====================================
[email protected]
=====================================
@@ -1,6 +1,7 @@
 [Unit]
 Description=GnuPG cryptographic agent and passphrase cache (access for web 
browsers) for %f
 Documentation=man:gpg-agent(1)
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.gpg-agent.browser


=====================================
[email protected]
=====================================
@@ -1,6 +1,7 @@
 [Unit]
 Description=GnuPG cryptographic agent and passphrase cache (restricted) for %f
 Documentation=man:gpg-agent(1)
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.gpg-agent.extra


=====================================
[email protected]
=====================================
@@ -1,6 +1,7 @@
 [Unit]
 Description=GnuPG cryptographic agent (ssh-agent emulation) for %f
 Documentation=man:gpg-agent(1) man:ssh-add(1) man:ssh-agent(1) man:ssh(1)
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.gpg-agent.ssh


=====================================
[email protected]
=====================================
@@ -1,6 +1,7 @@
 [Unit]
 Description=GnuPG cryptographic agent and passphrase cache for %f
 Documentation=man:gpg-agent(1)
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.gpg-agent


=====================================
[email protected]
=====================================
@@ -1,5 +1,6 @@
 [Unit]
 Description=GnuPG public key management service for %f
+ConditionPathExists=%f
 
 [Socket]
 ListenStream=%f/S.keyboxd



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnupg/-/commit/5612c4c84a1eba2bcbf7ac2d43b19573eb2ebfba

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnupg/-/commit/5612c4c84a1eba2bcbf7ac2d43b19573eb2ebfba
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to