diff options
author | Michael Pereira Neves | 2014-09-11 15:29:22 +0200 |
---|---|---|
committer | Michael Pereira Neves | 2014-10-28 14:14:50 +0100 |
commit | 25f25ec6d6fd3f5212d008ce9df8816b63492126 (patch) | |
tree | 2a75f5b9355055b25e166702f5368080c12bb17e | |
parent | [setup_partitions] corrected config path (diff) | |
download | tm-scripts-25f25ec6d6fd3f5212d008ce9df8816b63492126.tar.gz tm-scripts-25f25ec6d6fd3f5212d008ce9df8816b63492126.tar.xz tm-scripts-25f25ec6d6fd3f5212d008ce9df8816b63492126.zip |
[partitioner] add systemd service
l--------- | server/modules/partitioner/etc/systemd/system/multi-user.target.wants/partitioner.service | 1 | ||||
-rw-r--r-- | server/modules/partitioner/etc/systemd/system/partitioner.service | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/server/modules/partitioner/etc/systemd/system/multi-user.target.wants/partitioner.service b/server/modules/partitioner/etc/systemd/system/multi-user.target.wants/partitioner.service new file mode 120000 index 00000000..48defa3e --- /dev/null +++ b/server/modules/partitioner/etc/systemd/system/multi-user.target.wants/partitioner.service @@ -0,0 +1 @@ +../partitioner.service
\ No newline at end of file diff --git a/server/modules/partitioner/etc/systemd/system/partitioner.service b/server/modules/partitioner/etc/systemd/system/partitioner.service new file mode 100644 index 00000000..1b6160c8 --- /dev/null +++ b/server/modules/partitioner/etc/systemd/system/partitioner.service @@ -0,0 +1,20 @@ +[Unit] +Description=Runs the OpenSLX Partitioning Tool +After=killsplash.service +After=systemd-vconsole-setup.service +Before=display-manager.service getty@tty1.service getty@ttyUSB0.service +Before=serial-getty@ttyS0.service serial-getty@ttyO0.service serial-getty@ttyO2.service +Before=serial-getty@ttyAMA0.service serial-getty@ttymxc0.service serial-getty@ttymxc3.service +Conflicts=killsplash.service +ConditionKernelCommandLine=partition + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-partitioner +TimeoutSec=0 +RemainAfterExit=yes +SysVStartPriority=99 +StandardInput=tty +StandardOutput=tty + + |