logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0002-Use-run-for-the-socket-and-pid-file.patch (843B)


  1. From f1cb8f96e446ba38d425fc130fda7a041394636e Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sun, 16 Aug 2020 18:06:18 -0700
  4. Subject: [PATCH] Use /run for the socket and pid file
  5. ---
  6. acpid.h | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/acpid.h b/acpid.h
  9. index 916da5f..d11253b 100644
  10. --- a/acpid.h
  11. +++ b/acpid.h
  12. @@ -26,10 +26,10 @@
  13. #define ACPI_PROCDIR "/proc/acpi"
  14. #define ACPID_EVENTFILE ACPI_PROCDIR "/event"
  15. #define ACPID_CONFDIR "/etc/acpi/events"
  16. -#define ACPID_SOCKETFILE "/var/run/acpid.socket"
  17. +#define ACPID_SOCKETFILE "/run/acpid.socket"
  18. #define ACPID_SOCKETMODE 0666
  19. #define ACPID_CLIENTMAX 256
  20. -#define ACPID_PIDFILE "/var/run/acpid.pid"
  21. +#define ACPID_PIDFILE "/run/acpid.pid"
  22. #define ACPID_LOCKFILE "/var/lock/acpid"
  23. #define ACPID_MAX_ERRS 5
  24. --
  25. 2.28.0