-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use systemd to start AppManager
We can use systemd to start AppManager. This commit remove the old configure files of autostart AppManager.
- Loading branch information
1 parent
9129260
commit 0f66e8a
Showing
4 changed files
with
101 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[D-BUS Service] | ||
Name=org.deepin.linglong.AppManager | ||
Exec=@CMAKE_INSTALL_FULL_BINDIR@/ll-service | ||
SystemdService=org.deepin.linglong.AppManager.service |
9 changes: 9 additions & 0 deletions
9
misc/systemd/service/org.deepin.linglong.AppManager.service.in
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,9 @@ | ||
[Unit] | ||
Description=Linglong AppManager service | ||
|
||
[Service] | ||
Type=dbus | ||
BusName=org.deepin.linglong.AppManager | ||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ll-service | ||
Restart=on-failure | ||
RestartSec=10 |