mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
tz-data: tweaks
- run tzdata0setup after advancedsettings.xml gets closed. not on every write - disable ratelimiting
This commit is contained in:
parent
cfe69b38c3
commit
af2f0a12aa
@ -3,7 +3,7 @@ Description=Timezone data monitor
|
||||
After=local-fs.target
|
||||
|
||||
[Path]
|
||||
PathModified=/storage/.xbmc/userdata/guisettings.xml
|
||||
PathChanged=/storage/.xbmc/userdata/guisettings.xml
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=Timezone data monitor
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/systemctl restart tz-data.service
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -8,6 +8,7 @@ ConditionPathExists=/storage/.xbmc/userdata/guisettings.xml
|
||||
Type=oneshot
|
||||
ExecStart=/usr/lib/openelec/tzdata-setup
|
||||
RemainAfterExit=yes
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=xbmc.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user