summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-06-29 20:06:19 +0300
committernl6720 <nl6720@gmail.com>2020-06-30 06:25:43 +0300
commitd11737ffe86f22efc9e84ce4eec7c6f4bae1a4f3 (patch)
treed31957a2add7875fd81ac732e6141b6e8476cbf0 /configs/releng/airootfs/etc/systemd
parent47533fd974d596edb15aa640d1b97a2ef2ba0c4d (diff)
downloadarchiso32-d11737ffe86f22efc9e84ce4eec7c6f4bae1a4f3.tar.xz
Use drop-in files for journald and logind configuration
Diffstat (limited to 'configs/releng/airootfs/etc/systemd')
-rw-r--r--configs/releng/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf2
-rw-r--r--configs/releng/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf4
2 files changed, 6 insertions, 0 deletions
diff --git a/configs/releng/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/configs/releng/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf
new file mode 100644
index 0000000..b69850d
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf
@@ -0,0 +1,2 @@
+[Journal]
+Storage=volatile
diff --git a/configs/releng/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/configs/releng/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf
new file mode 100644
index 0000000..f3ecb39
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf
@@ -0,0 +1,4 @@
+[Login]
+HandleSuspendKey=ignore
+HandleHibernateKey=ignore
+HandleLidSwitch=ignore