Skip to content

Commit 573d195

Browse files
committed
service: Use WantedBy=multi-user.target
It is recommended for system services to use WantedBy=multi-user.target instead of WantedBy=default.target to have the expected behavior. Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 9a77b84 commit 573d195

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/systemd/system/keylime_agent.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Environment="RUST_LOG=keylime_agent=info,keylime=info"
2323
#Environment="TCTI=tabrmd:"
2424

2525
[Install]
26-
WantedBy=default.target
26+
WantedBy=multi-user.target

dist/systemd/system/keylime_push_model_agent.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Environment="RUST_LOG=keylime_push_model_agent=info,keylime=info"
2121
#Environment="TCTI=tabrmd:"
2222

2323
[Install]
24-
WantedBy=default.target
24+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)