summaryrefslogtreecommitdiffstats
path: root/remote/modules/pvs2/data/etc/systemd/system
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-08 12:34:05 +0200
committerSimon Rettberg2016-09-08 12:34:05 +0200
commit6eea8f48ac415be6208ffb55167b67a539874ac4 (patch)
treebc320d527a2e62d8df2b2d6d07938426fc5c81d8 /remote/modules/pvs2/data/etc/systemd/system
parent[pvs2] Renamed lock/unlock scripts (diff)
downloadtm-scripts-6eea8f48ac415be6208ffb55167b67a539874ac4.tar.gz
tm-scripts-6eea8f48ac415be6208ffb55167b67a539874ac4.tar.xz
tm-scripts-6eea8f48ac415be6208ffb55167b67a539874ac4.zip
[pvs2] Support fetching remote pvs2.ini; honor exam mode, dedicated flag
Diffstat (limited to 'remote/modules/pvs2/data/etc/systemd/system')
l---------remote/modules/pvs2/data/etc/systemd/system/multi-user.target.wants/pvsmgr.service1
-rw-r--r--remote/modules/pvs2/data/etc/systemd/system/pvsmgr.service12
2 files changed, 13 insertions, 0 deletions
diff --git a/remote/modules/pvs2/data/etc/systemd/system/multi-user.target.wants/pvsmgr.service b/remote/modules/pvs2/data/etc/systemd/system/multi-user.target.wants/pvsmgr.service
new file mode 120000
index 00000000..cab88a66
--- /dev/null
+++ b/remote/modules/pvs2/data/etc/systemd/system/multi-user.target.wants/pvsmgr.service
@@ -0,0 +1 @@
+../pvsmgr.service \ No newline at end of file
diff --git a/remote/modules/pvs2/data/etc/systemd/system/pvsmgr.service b/remote/modules/pvs2/data/etc/systemd/system/pvsmgr.service
new file mode 100644
index 00000000..281e1ab4
--- /dev/null
+++ b/remote/modules/pvs2/data/etc/systemd/system/pvsmgr.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Fetch up to date pvsmgr config
+DefaultDependencies=no
+After=tmp.target
+Wants=tmp.target
+Before=graphical.target
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-pvsmgr
+RemainAfterExit=yes
+