Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Prevent ssu startup when system is shutting down.
[systemd] Prevent ssu startup when system is shutting down. Contributes to JB#24120 We need to map the dbus service file to systemd service file in order to be able to prevent dbus activation of the service when system is for example shutting down. Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
- Loading branch information
Showing
4 changed files
with
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
[D-BUS Service] | ||
Interface=org.nemo.ssu | ||
Name=org.nemo.ssu | ||
Exec=/usr/bin/ssud | ||
User=root | ||
Exec=/bin/false | ||
User=root | ||
SystemdService=dbus-org.nemo.ssu.service | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Unit] | ||
Description=SSU service | ||
|
||
[Service] | ||
Type=dbus | ||
BusName=org.nemo.ssu | ||
ExecStart=/usr/bin/ssud | ||
|