Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2330 Edit ci
Browse files Browse the repository at this point in the history
  • Loading branch information
khromenokroman committed Sep 5, 2024
1 parent d69def1 commit 2443d5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/ci/build-test-ubuntu-support-systemd-integrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ msg() {
printf "\033[1;32m%s: %s\033[0m\n" ${FUNCNAME[1]} "$1"
}

WORKSPACE=$(git rev-parse --show-toplevel)
DIR_BUILD="build"

msg "Create unit file"
echo -e "[Unit]\nDescription=Test application roudi\n\n[Service]\nType=notify\nRestartSec=10\nRestart=always\nExecStart=/usr/bin/iox-roudi\nTimeoutStartSec=10\nWatchdogSec=5\n\n[Install]\nWantedBy=multi-user.target" | tee /usr/lib/systemd/system/test_iox.service > /dev/null
echo -e "[Unit]\nDescription=Test application roudi\n\n[Service]\nType=notify\nRestartSec=10\nRestart=always\nExecStart=${WORKSPACE}/${DIR_BUILD}/iox-roudi\nTimeoutStartSec=10\nWatchdogSec=5\n\n[Install]\nWantedBy=multi-user.target" | tee /usr/lib/systemd/system/test_iox.service > /dev/null

msg "Show unit"
cat /usr/lib/systemd/system/test_iox.service
Expand Down

0 comments on commit 2443d5e

Please sign in to comment.