2020-03-21 04:27:09 +03:00
|
|
|
# Battery Buddy, a Sailfish application to prolong battery lifetime
|
|
|
|
#
|
|
|
|
# Copyright (C) 2019-2020 Matti Viljanen
|
|
|
|
#
|
|
|
|
# Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
|
|
|
# GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
|
|
|
# License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# See the GNU General Public License for more details. You should have received a copy of the GNU
|
2020-03-24 04:56:56 +03:00
|
|
|
# General Public License along with Battery Buddy. If not, see <http://www.gnu.org/licenses/>.
|
2020-03-21 04:27:09 +03:00
|
|
|
#
|
|
|
|
# Author: Matti Viljanen
|
|
|
|
|
2020-03-20 18:27:38 +03:00
|
|
|
[Unit]
|
2020-03-23 05:04:47 +03:00
|
|
|
Description=Battery Buddy file permission daemon
|
2020-03-20 18:27:38 +03:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/share/harbour-batterybuddy/service/set-write-permissions.sh
|
|
|
|
RemainAfterExit=true
|
|
|
|
ExecStop=/usr/share/harbour-batterybuddy/service/clear-write-permissions.sh
|
|
|
|
StandardOutput=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|