From 93b4a6ea167bc9654652bc6a6c6f7e01d4ac6641 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 30 Nov 2023 17:11:28 +0100 Subject: [PATCH] fix systemd file --- README.md | 4 +--- clrigctl.service | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bd03acd..62258cc 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,6 @@ If you want to run clrigctl always in the background, you can copy the example s ``` [Unit] Description=Cloudlog CAT Control -After=syslog.target -After=network.target [Service] RestartSec=2s @@ -46,7 +44,7 @@ Restart=always #Environment=RUST_LOG=Debug [Install] -WantedBy=multi-user.target +WantedBy=default.target ``` After a `systemctl --user daemon-reload` you can enable (and start) the service with `systemctl --user enable --now clrigctl.service`. diff --git a/clrigctl.service b/clrigctl.service index 511c831..cf6c763 100644 --- a/clrigctl.service +++ b/clrigctl.service @@ -1,7 +1,5 @@ [Unit] Description=Cloudlog CAT Control -After=syslog.target -After=network.target [Service] RestartSec=2s @@ -11,4 +9,4 @@ Restart=always #Environment=RUST_LOG=Debug [Install] -WantedBy=multi-user.target +WantedBy=default.target