summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-07-22 23:30:39 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-07-22 23:30:39 +0200
commit02a7a5aa02ed69efa1b8e252633615ef05823b92 (patch)
tree96567b6a10a7763887673517382a12c47c1fff13
parent3302005a360ee3b27cb4eef3c07a93e3a7c82b7e (diff)
systemd: WorkingDirectory=/opt/opplysning
-rw-r--r--systemd/opplysning-forfrisk.service1
-rw-r--r--systemd/opplysning-vis.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/systemd/opplysning-forfrisk.service b/systemd/opplysning-forfrisk.service
index e3542f8..690ca11 100644
--- a/systemd/opplysning-forfrisk.service
+++ b/systemd/opplysning-forfrisk.service
@@ -4,3 +4,4 @@ Description=Forfrisk opplysninger
[Service]
Type=simple
ExecStart=/opt/opplysning/bin/opplysning-forfrisk
+WorkingDirectory=/opt/opplysning
diff --git a/systemd/opplysning-vis.service b/systemd/opplysning-vis.service
index 9b25f68..bc8fd6c 100644
--- a/systemd/opplysning-vis.service
+++ b/systemd/opplysning-vis.service
@@ -4,6 +4,7 @@ Description=Vis fram opplysninger
[Service]
Type=simple
ExecStart=/opt/opplysning/bin/opplysning-vis
+WorkingDirectory=/opt/opplysning
[Install]
WantedBy=multi-user.target