diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-02-07 18:54:13 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-02-09 19:11:02 +0200 |
commit | 5cf3781ad4beddfab5aa7181c0990a5462ffe06f (patch) | |
tree | a50a769bc8b6cc7e31f28466002c7dc15f2433b4 /yarns/200-version.yarn | |
parent | 4b6fd81e121935f60f29b8314bc7c44726bf6fd7 (diff) | |
download | ick2-5cf3781ad4beddfab5aa7181c0990a5462ffe06f.tar.gz |
Change: make all .service units be conditional on config
If the config file is missing, the unit won't start.
Diffstat (limited to 'yarns/200-version.yarn')
-rw-r--r-- | yarns/200-version.yarn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yarns/200-version.yarn b/yarns/200-version.yarn index fe92b34..2f87ac7 100644 --- a/yarns/200-version.yarn +++ b/yarns/200-version.yarn @@ -1,6 +1,6 @@ <!-- -Copyright 2017 Lars Wirzenius +Copyright 2017-2018 Lars Wirzenius This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -26,11 +26,13 @@ The Ick controller reports is version upon request. AND an access token for user with scopes ... uapi_version_get AND controller config uses statedir at the state directory + AND controller config uses https://blobs.example.com as blob service AND a running ick controller WHEN user makes request GET /version THEN result has status code 200 AND version in body matches version from setup.py + AND blob service URL is https://blobs.example.com FINALLY stop ick controller |