summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-03-29 13:51:03 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-03-29 13:57:58 +0200
commit71c528ab616a707f4125727c8c5a4e4da5a36c94 (patch)
tree5ea8f1929b8951dfafa568732bc5f3023bd17f8a /recipes-sota/aktualizr/files
parentbca6c0b09593c77d9ac78caae2f7488adb1d90f4 (diff)
downloadmeta-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.service1
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
8RestartSec=10 8RestartSec=10
9Restart=always 9Restart=always
10EnvironmentFile=/usr/lib/sota/sota.env 10EnvironmentFile=/usr/lib/sota/sota.env
11EnvironmentFile=-/etc/sota/sota.env
11ExecStart=/usr/bin/aktualizr $AKTUALIZR_CMDLINE_PARAMETERS 12ExecStart=/usr/bin/aktualizr $AKTUALIZR_CMDLINE_PARAMETERS
12 13
13[Install] 14[Install]