summaryrefslogtreecommitdiff
path: root/sideload-repos-systemd/flatpak-sideload-repos-dir.service
blob: cca23b01b7bfea004aec42ab3219016b34be6b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This unit is intended to be installed in the systemd system instance, so that
# flatpak-sideload-usb-repo.{path,service} can work in the user instance
[Service]
Type=oneshot
ExecStart=/bin/mkdir -p /run/flatpak; /bin/mkdir -p -m 777 /run/flatpak/sideload-repos

[Unit]
# Use basic.target to guarantee we run before flatpak-sideload-usb-repos.path
# in the user systemd instance
Before=basic.target
After=sysinit.target
DefaultDependencies=no

[Install]
WantedBy=basic.target