diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-03-29 13:51:03 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-03-29 13:57:58 +0200 |
commit | 71c528ab616a707f4125727c8c5a4e4da5a36c94 (patch) | |
tree | 5ea8f1929b8951dfafa568732bc5f3023bd17f8a /recipes-sota/aktualizr/files | |
parent | bca6c0b09593c77d9ac78caae2f7488adb1d90f4 (diff) | |
download | meta-updater-71c528ab616a707f4125727c8c5a4e4da5a36c94.tar.gz |
Assorted minor cleanup and formatting.
Includes the suggestion for using /etc/sota/sota.env if it exists as
recommended by the discussion here:
https://github.com/advancedtelematic/meta-updater/pull/275
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr.service b/recipes-sota/aktualizr/files/aktualizr.service index b6df9d7..1c2e1df 100644 --- a/recipes-sota/aktualizr/files/aktualizr.service +++ b/recipes-sota/aktualizr/files/aktualizr.service | |||
@@ -8,6 +8,7 @@ Requires=network-online.target | |||
8 | RestartSec=10 | 8 | RestartSec=10 |
9 | Restart=always | 9 | Restart=always |
10 | EnvironmentFile=/usr/lib/sota/sota.env | 10 | EnvironmentFile=/usr/lib/sota/sota.env |
11 | EnvironmentFile=-/etc/sota/sota.env | ||
11 | ExecStart=/usr/bin/aktualizr $AKTUALIZR_CMDLINE_PARAMETERS | 12 | ExecStart=/usr/bin/aktualizr $AKTUALIZR_CMDLINE_PARAMETERS |
12 | 13 | ||
13 | [Install] | 14 | [Install] |