enable snap service by default + name change

This commit is contained in:
Adnan Hodzic 2020-02-06 19:58:03 +01:00
parent 97d3754ad7
commit ea2c868a9d
2 changed files with 2 additions and 4 deletions

View File

@ -76,7 +76,6 @@ def main(monitor, live, daemon, install, log):
elif install:
if os.getenv('PKG_MARKER') == "SNAP":
os.environ["DAEMON"] = "ENABLED"
print(os.environ["DAEMON"])
running_check()
root_check()
gov_check()

View File

@ -31,13 +31,12 @@ apps:
LC_ALL: C.UTF-8
LANG: C.UTF-8
PKG_MARKER: SNAP
DAEMON: DISABLED
auto-cpufreq-service:
service:
command: bin/auto-cpufreq --daemon 2>&1 | tee -a /var/log/auto-cpufreq.log
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
PKG_MARKER: SNAP
DAEMON: DISABLED
DAEMON: ENABLED
daemon: simple