Created
February 8, 2022 10:51
-
-
Save rplevka/f688347d8edeaefe12b7965ff051122a to your computer and use it in GitHub Desktop.
robottelo tracer mock service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mock service for robottelo tracer tests | |
[Service] | |
ExecStart=/usr/bin/mock-service.sh | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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