fix systemd file
This commit is contained in:
parent
13f21eadec
commit
93b4a6ea16
2 changed files with 2 additions and 6 deletions
|
@ -35,8 +35,6 @@ If you want to run clrigctl always in the background, you can copy the example s
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Cloudlog CAT Control
|
Description=Cloudlog CAT Control
|
||||||
After=syslog.target
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
RestartSec=2s
|
RestartSec=2s
|
||||||
|
@ -46,7 +44,7 @@ Restart=always
|
||||||
#Environment=RUST_LOG=Debug
|
#Environment=RUST_LOG=Debug
|
||||||
|
|
||||||
[Install]
|
[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`.
|
After a `systemctl --user daemon-reload` you can enable (and start) the service with `systemctl --user enable --now clrigctl.service`.
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Cloudlog CAT Control
|
Description=Cloudlog CAT Control
|
||||||
After=syslog.target
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
RestartSec=2s
|
RestartSec=2s
|
||||||
|
@ -11,4 +9,4 @@ Restart=always
|
||||||
#Environment=RUST_LOG=Debug
|
#Environment=RUST_LOG=Debug
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in a new issue