mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
espanso: use launcher
command on Linux
The source uses `launcher` instead of `daemon`. Additionally we remove
`Type` and add `RestartSec` as defined in the source:
b421bcf73f/espanso/src/res/linux/systemd.service (L5-L7C1)
This commit is contained in:
parent
09a0c0c029
commit
802b3cb2d4
2 changed files with 4 additions and 4 deletions
|
@ -121,9 +121,9 @@ in {
|
|||
systemd.user.services.espanso = {
|
||||
Unit = { Description = "Espanso: cross platform text expander in Rust"; };
|
||||
Service = {
|
||||
Type = "exec";
|
||||
ExecStart = "${cfg.package}/bin/espanso daemon";
|
||||
ExecStart = "${cfg.package}/bin/espanso launcher";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
Install = { WantedBy = [ "default.target" ]; };
|
||||
};
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
WantedBy=default.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@espanso@/bin/espanso daemon
|
||||
ExecStart=@espanso@/bin/espanso launcher
|
||||
Restart=on-failure
|
||||
Type=exec
|
||||
RestartSec=3
|
||||
|
||||
[Unit]
|
||||
Description=Espanso: cross platform text expander in Rust
|
||||
|
|
Loading…
Reference in a new issue