Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use systemd activation for MMS engine dbus
[systemd] Use systemd activation for MMS engine dbus. Contributes to JB#24120 This allows parallel startup of dbus services. Also prevents MMS engine startup when system is shutting down in case that ever happens. Change dbus service file to only describe dbus service and add systemd service file to start the service. Change spec and project file to include the new file. Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
- Loading branch information
Showing
4 changed files
with
16 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Unit] | ||
Description=MMS engine service | ||
|
||
[Service] | ||
Type=dbus | ||
BusName=org.nemomobile.MmsEngine | ||
ExecStart=/usr/sbin/mms-engine -o syslog | ||
|
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,5 +1,7 @@ | ||
# Goes to /usr/share/dbus-1/system-services | ||
[D-BUS Service] | ||
Name=org.nemomobile.MmsEngine | ||
Exec=/usr/sbin/mms-engine -o syslog | ||
Exec=/bin/false | ||
User=nemo | ||
SystemdService=dbus-org.nemomobile.MmsEngine.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