feat: flatpaksync submodule (#62)
This commit is contained in:
commit
a21e245279
6 changed files with 96 additions and 0 deletions
10
files/usr/lib/systemd/user/flatpaksync/flatpaksync.path
Normal file
10
files/usr/lib/systemd/user/flatpaksync/flatpaksync.path
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Service monitoring the ~/.var/app directory
|
||||
|
||||
[Path]
|
||||
PathChanged=%h/.var/app
|
||||
PathChanged=%h/.config/flatpaks.user.installed
|
||||
Unit=flatpaksync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
12
files/usr/lib/systemd/user/flatpaksync/flatpaksync.service
Normal file
12
files/usr/lib/systemd/user/flatpaksync/flatpaksync.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Flatpak synchronization service
|
||||
ConditionPathExists=%h/.config/flatpaksync/env
|
||||
ConditionPathExists=%h/.config/flatpaks.user.installed
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=%h/.config/flatpaksync/env
|
||||
ExecStart=/usr/bin/flatpaksync
|
||||
Type=simple
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue