Skip to content

Instantly share code, notes, and snippets.

@rplevka
Created February 8, 2022 10:51
Show Gist options
  • Save rplevka/f688347d8edeaefe12b7965ff051122a to your computer and use it in GitHub Desktop.
Save rplevka/f688347d8edeaefe12b7965ff051122a to your computer and use it in GitHub Desktop.
robottelo tracer mock service
[Unit]
Description=Mock service for robottelo tracer tests
[Service]
ExecStart=/usr/bin/mock-service.sh
[Install]
WantedBy=multi-user.target
#!/bin/sh
# a mock script that writes a "version" value to a file and then runs in an infinite loop
echo "1" > /root/mock_service.log
while true
do
sleep 3600
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment