-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consistent user experience/systemd start and stop
Prior to this commit, if a psd threw an error code starting from psd.service, psd.service would show up in systemctl as active and psd-resync.service would show the error and the timer would run. Unless a more simplistic strategy to interface with systemd can be designed, this is an alternative to give a consistent experience with systemd.
- Loading branch information
Showing
4 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[Unit] | ||
Description=Timer for profile-sync-daemon - 1Hour | ||
PartOf=psd-resync.service psd.service | ||
BindsTo=psd.service | ||
|
||
[Timer] | ||
OnUnitActiveSec=1h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters