-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2368 from tpurschke/develop
Develop various small improvements
- Loading branch information
Showing
195 changed files
with
1,675 additions
and
255 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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
[Unit] | ||
Description={{ product_name }} API | ||
Requires=docker.service | ||
{% if 'databaseserver' in group_names -%} | ||
After=network.target remote-fs.target nss-lookup.target postgresql.service | ||
After=network.target remote-fs.target nss-lookup.target postgresql.service docker.service | ||
{% else -%} | ||
After=network.target remote-fs.target nss-lookup.target | ||
After=network.target remote-fs.target nss-lookup.target docker.service | ||
{%- endif %} | ||
[Service] | ||
Restart=on-failure | ||
WorkingDirectory={{ fworch_home }} | ||
ExecStartPre=/bin/sleep 10 | ||
ExecStart=/usr/bin/docker start {{ api_container_name }} | ||
ExecStart=/usr/bin/docker start -a {{ api_container_name }} | ||
ExecStop=/usr/bin/docker stop -t 2 {{ api_container_name }} | ||
StandardOutput=journal | ||
StandardError=journal | ||
SyslogIdentifier={{ product_name }}-api | ||
User={{ fworch_user }} | ||
Environment= | ||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=default.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
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
Oops, something went wrong.