Skip to content

Commit

Permalink
chore(default-flatpaks): Update service & add timers to match v1
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Nov 10, 2024
1 parent 92f501a commit 9498a79
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ After=network-online.target

[Service]
Type=oneshot
ExecStart=/usr/share/bluebuild/default-flatpaks/system-flatpak-setup
Restart=on-failure
RestartSec=30
StartLimitInterval=0

[Install]
WantedBy=multi-user.target
ExecStart=/usr/libexec/bluebuild/default-flatpaks/system-flatpak-setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Unit]
Description=Timer for system-flatpak-setup

[Timer]
OnBootSec=30

[Install]
WantedBy=timers.target
10 changes: 2 additions & 8 deletions modules/default-flatpaks/v2/post-boot/user-flatpak-setup.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,5 @@ Wants=network-online.target
After=system-flatpak-setup.service

[Service]
Type=simple
ExecStart=/usr/share/bluebuild/default-flatpaks/user-flatpak-setup
Restart=on-failure
RestartSec=30
StartLimitInterval=0

[Install]
WantedBy=default.target
Type=oneshot
ExecStart=/usr/libexec/bluebuild/default-flatpaks/user-flatpak-setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Unit]
Description=Timer for user-flatpak-setup

[Timer]
OnBootSec=30

[Install]
WantedBy=timers.target

0 comments on commit 9498a79

Please sign in to comment.