-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize containerized setup to refer to 'container'
- Loading branch information
Showing
5 changed files
with
51 additions
and
53 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
[Unit] | ||
Description=OpenQA datacontainer | ||
Requires=docker.service | ||
After=docker.service | ||
|
||
[Service] | ||
Restart=always | ||
ExecStart=/usr/bin/docker start -a openqa_data | ||
ExecStop=/usr/bin/docker stop -t 2 openqa_data | ||
ExecStart=/usr/bin/podman start -a openqa_data | ||
ExecStop=/usr/bin/podman stop -t 2 openqa_data | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[Unit] | ||
Description=OpenQA dockerized web interface | ||
Requires=docker.service openqa-data.service | ||
After=docker.service openqa-data.service | ||
Description=OpenQA containerized web interface | ||
Requires=openqa-data.service | ||
After=openqa-data.service | ||
|
||
[Service] | ||
Restart=always | ||
ExecStart=/usr/bin/docker start -a openqa_webui | ||
ExecStop=/usr/bin/docker stop -t 2 openqa_webui | ||
ExecStart=/usr/bin/podman start -a openqa_webui | ||
ExecStop=/usr/bin/podman stop -t 2 openqa_webui | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[Unit] | ||
Description=OpenQA dockerized worker | ||
Requires=docker.service openqa-webui.service | ||
After=docker.service openqa-webui.service | ||
Description=OpenQA containerized worker | ||
Requires=openqa-webui.service | ||
After=openqa-webui.service | ||
|
||
[Service] | ||
Restart=always | ||
ExecStart=/usr/bin/docker start -a openqa_worker_%i | ||
ExecStop=/usr/bin/docker stop -t 2 openqa_worker_%i | ||
ExecStart=/usr/bin/podman start -a openqa_worker_%i | ||
ExecStop=/usr/bin/podman stop -t 2 openqa_worker_%i | ||
|
||
[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
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