major refactoring
This commit is contained in:
12
roles/services/templates/flatpak-automatic.service.j2
Normal file
12
roles/services/templates/flatpak-automatic.service.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[Unit]
|
||||
Description=flatpak Automatic Update
|
||||
Documentation=man:flatpak(1)
|
||||
|
||||
[Service]
|
||||
Environment='DISPLAY={{ ansible_facts["env"]["DISPLAY"] }}'
|
||||
Environment='DBUS_SESSION_BUS_ADDRESS={{ ansible_facts["env"]["DBUS_SESSION_BUS_ADDRESS"] }}'
|
||||
Type=simple
|
||||
ExecStartPre=nm-online
|
||||
ExecStart=/usr/bin/flatpak update -y
|
||||
Reference in New Issue
Block a user