diff options
author | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-11-22 11:57:50 -0800 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-11-22 11:57:50 -0800 |
commit | 15646255321f478dd53502cb26f60b26d1339cea (patch) | |
tree | 37a784d8cff848c3ae5c14be4e9ae57a2f90e40b /scripts | |
parent | eb9e409706fea8ba214ee41e5c79d5a9177814cd (diff) | |
download | rvi_core-15646255321f478dd53502cb26f60b26d1339cea.tar.gz |
Renamed rvi.service rvi.service.tizen for Tizen-specific systemd integration. More work probably needed
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/rvi.service.tizen | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/rvi.service.tizen b/scripts/rvi.service.tizen new file mode 100644 index 0000000..1220eb9 --- /dev/null +++ b/scripts/rvi.service.tizen @@ -0,0 +1,19 @@ +# systemd(8) setup usde by Tizen and others. +[Unit] +Description=Remote Vehicle Interaction Service +Wants=network-online.target + +[Service] +Environment="HOME=/opt/rvi-0.4.0" +Type=forking +StandardOutput=journal +StandardError=journal +ExecStartPre=/usr/bin/chsmack --access User /home/app/content/Documents/vin +ExecStartPre=/opt/rvi-0.4.0/erts-5.10.4/bin/epmd -daemon +ExecStart=/bin/sh /opt/rvi-0.4.0/bin/rvi start +ExecStop=/bin/sh /opt/rvi-0.4.0/bin/rvi stop +ExecStopPost=/opt/rvi-0.4.0/erts-5.10.4/bin/epmd -kill +GuessMainPID=yes + +[Install] +WantedBy=graphical.target multi-user.target |