aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/archlogo.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-01 13:35:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-01 13:35:12 +0200
commit1188ddde12b40a5568a0ce4f7ac82414845b9293 (patch)
treee41d21600f11e2e5bd44ea3f7a10d4f2789f4ef5 /systemd/archlogo.service
parentc5506dc78eaa274629999667faba4983e4042cbd (diff)
downloadmkinitcpio-archlogo-1188ddde12b40a5568a0ce4f7ac82414845b9293.tar.gz
mkinitcpio-archlogo-1188ddde12b40a5568a0ce4f7ac82414845b9293.tar.zst
fix environment handling in systemd unit
Diffstat (limited to 'systemd/archlogo.service')
-rw-r--r--systemd/archlogo.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/archlogo.service b/systemd/archlogo.service
index 37601bc..bb119e4 100644
--- a/systemd/archlogo.service
+++ b/systemd/archlogo.service
@@ -8,4 +8,5 @@ Type=oneshot
RemainAfterExit=yes
StandardOutput=tty
EnvironmentFile=/etc/archlogo.conf
-ExecStart=/usr/bin/cat "/usr/share/archlogo/${ARCHLOGO}"
+WorkingDirectory=/usr/share/archlogo
+ExecStart=/usr/bin/cat "${ARCHLOGO}"