Skip to content

Commit

Permalink
systemd: Correct service files relationship (#575)
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 authored May 8, 2024
1 parent d92bb37 commit c3dcd60
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 c3dcd60

Please sign in to comment.