Skip to content

Commit

Permalink
Assign PSD to background slice
Browse files Browse the repository at this point in the history
Backup services are not critical to latency, so they can be given
fewer resources.
  • Loading branch information
ISSOtm committed Jan 11, 2025
1 parent a698846 commit 8512dc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions init/psd-resync.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Wants=psd-resync.timer
BindsTo=psd.service

[Service]
Slice=background.slice
Type=oneshot
ExecStart=/usr/bin/profile-sync-daemon resync
Environment=LAUNCHED_BY_SYSTEMD=1
Expand Down
1 change: 1 addition & 0 deletions init/psd.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RequiresMountsFor=/home/
After=winbindd.service

[Service]
Slice=background.slice
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/profile-sync-daemon startup
Expand Down

0 comments on commit 8512dc6

Please sign in to comment.