diff options
author | Gunnar Andersson <gandersson@genivi.org> | 2018-05-30 16:19:10 +0200 |
---|---|---|
committer | Gunnar Andersson <gandersson@genivi.org> | 2018-07-27 16:33:10 +0200 |
commit | 90f8589f899e924e3c1a9f167897d1f1c2440b49 (patch) | |
tree | 2cc7651727901de6037f2f1c377ee610830781ad /yocto_template/rvi.service | |
parent | d63dd1c7c9659a2d99a7f1a4f47906a01f5619ae (diff) | |
download | rvi_core-install_to_usr.tar.gz |
Change all paths from /opt to /usr/shareinstall_to_usr
/opt can't be used in an normal OS-tree compatible layout - program
files should now reside under /usr.
/etc/opt/<rvi config files> changed to remove opt which looks
odd there anyway: --> /etc/rvi/<config files>.
Also moved default log location to /run/log/rvi_core because
${target_dir}/log is not adequate when the installation (target) dir
is read-only. Note that /run is non-persistent, so /var/log might be
preferred later.
Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
Diffstat (limited to 'yocto_template/rvi.service')
-rw-r--r-- | yocto_template/rvi.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yocto_template/rvi.service b/yocto_template/rvi.service index 7e38b78..470e2f2 100644 --- a/yocto_template/rvi.service +++ b/yocto_template/rvi.service @@ -4,12 +4,12 @@ Description=Remote Vehicle Interaction Service Wants=network-online.target [Service] -Environment="HOME=/opt/rvi_core" +Environment="HOME=/usr/share/rvi_core" Type=forking StandardOutput=journal StandardError=journal -ExecStart=/opt/rvi_core/rvi_ctl -c /etc/opt/rvi/rvi.config start -ExecStop=/opt/rvi_core/rvi_ctl stop +ExecStart=/usr/share/rvi_core/rvi_ctl -c /etc/rvi/rvi.config start +ExecStop=/usr/share/rvi_core/rvi_ctl stop GuessMainPID=yes RemainAfterExit=yes |