fix(cli): use .service suffix

Doesn't really matter, as systemd aliases <service-name> to
<service-name>.service anyway. But it's good practice to use the full
unit name.
This commit is contained in:
Sefa Eyeoglu 2022-03-25 19:18:06 +01:00
parent 3b48a9ac9c
commit eacf34d337
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -27,7 +27,7 @@ use thiserror::Error;
use crate::{error_eprintln, info_println, warn_eprintln};
const LINUX_SERVICE_NAME: &str = "espanso";
const LINUX_SERVICE_NAME: &str = "espanso.service";
const LINUX_SERVICE_CONTENT: &str = include_str!("../../res/linux/systemd.service");
#[allow(clippy::transmute_bytes_to_str)]
const LINUX_SERVICE_FILENAME: &str = formatcp!("{}.service", LINUX_SERVICE_NAME);