cli: enable code-tunnel systemd service to start when the machine booted (#170015)

fix [Install] section of systemd service file

change WhantedBy from multi-user.target to default.target
This commit is contained in:
logica 2023-01-06 06:02:22 +09:00 committed by GitHub
parent 0294a28ca0
commit dda26d34a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,7 @@ fn write_systemd_service_file(
ExecStart={} \"{}\"\n\
\n\
[Install]\n\
WantedBy=multi-user.target\n\
WantedBy=default.target\n\
",
PRODUCT_NAME_LONG,
exe.into_os_string().to_string_lossy(),