View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#13
hlev80, try this:
Code:
[Unit]
Description=Start Battery Overlay
After=ofono.service

[Service]
Type=simple
Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/100000/dbus/user_bus_socket"
ExecStart=/usr/bin/harbour-batteryoverlay

[Install]
WantedBy=multi-user.target
Give to this name like: overlayautostrat.service
and put it to: /lib/systemd/system
run as ROOT:
Code:
systemctl enable overlayautostrat.service

UPDATE:
Just now tested and it also not work

Last edited by Schturman; 2015-04-03 at 20:32.
 

The Following User Says Thank You to Schturman For This Useful Post: