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
+ Add config fields for dlt due to no needed relationship

Co-Authored-By: Gianfranco Costamagna <1227338+LocutusOfBorg@users.noreply.github.com>
  • Loading branch information
minminlittleshrimp and LocutusOfBorg committed Nov 27, 2023
1 parent a4105dd commit b50553a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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

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

[Service]
Type=simple
Expand All @@ -24,6 +26,3 @@ ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
WatchdogSec=@DLT_WatchdogSec@
NotifyAccess=main
LimitCORE=infinity

[Install]
WantedBy=basic.target

0 comments on commit b50553a

Please sign in to comment.