enable snap service by default + name change
This commit is contained in:
parent
97d3754ad7
commit
ea2c868a9d
|
@ -76,7 +76,6 @@ def main(monitor, live, daemon, install, log):
|
||||||
elif install:
|
elif install:
|
||||||
if os.getenv('PKG_MARKER') == "SNAP":
|
if os.getenv('PKG_MARKER') == "SNAP":
|
||||||
os.environ["DAEMON"] = "ENABLED"
|
os.environ["DAEMON"] = "ENABLED"
|
||||||
print(os.environ["DAEMON"])
|
|
||||||
running_check()
|
running_check()
|
||||||
root_check()
|
root_check()
|
||||||
gov_check()
|
gov_check()
|
||||||
|
|
|
@ -31,13 +31,12 @@ apps:
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
DAEMON: DISABLED
|
service:
|
||||||
auto-cpufreq-service:
|
|
||||||
command: bin/auto-cpufreq --daemon 2>&1 | tee -a /var/log/auto-cpufreq.log
|
command: bin/auto-cpufreq --daemon 2>&1 | tee -a /var/log/auto-cpufreq.log
|
||||||
environment:
|
environment:
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
DAEMON: DISABLED
|
DAEMON: ENABLED
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
|
Loading…
Reference in New Issue