1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added systemd unit files for liveusb setup

This commit is contained in:
Steffen Vogel 2015-03-19 17:21:53 +01:00
parent 24b7de3499
commit 909a7cd09c
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=dhclient on all interfaces
Wants=network.target
Before=network.target
[Service]
Type=forking
ExecStart=/sbin/dhclient -4
[Install]
WantedBy=network.target

View file

@ -0,0 +1,17 @@
[Unit]
Description=S2SS LiveUSB Image setup
Requires=dhclient.service network.service
After=dhclient.service
[Service]
Type=simple
ExecStart=/s2ss/contrib/liveusb/setup.sh
RemainAfterExit=yes
TimeoutSec=120
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target