Skip to content

Commit

Permalink
systemd: Correct service files relationship
Browse files Browse the repository at this point in the history
+ Remove unusual relationship and replace with multi-user
+ Avoid dlt conflict on shutdown when applying no dependency

Co-Authored-By: Gianfranco Costamagna <[email protected]>
  • Loading branch information
minminlittleshrimp and LocutusOfBorg committed Feb 14, 2024
1 parent a4105dd commit bdff263
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions systemd/dlt-dbus.service.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ NotifyAccess=main
LimitCORE=infinity

[Install]
WantedBy=basic.target

WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd/dlt-system.service.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ NotifyAccess=main
LimitCORE=infinity

[Install]
WantedBy=basic.target
WantedBy=multi-user.target

6 changes: 5 additions & 1 deletion systemd/dlt.service.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
[Unit]
Description=COVESA DLT logging daemon
Documentation=man:dlt-daemon(1) man:dlt.conf(5)
DefaultDependencies=no
Before=shutdown.target
Conflicts=shutdown.target
After=tmp.mount

[Service]
Type=simple
Expand All @@ -26,4 +30,4 @@ NotifyAccess=main
LimitCORE=infinity

[Install]
WantedBy=basic.target
WantedBy=multi-user.target

0 comments on commit bdff263

Please sign in to comment.