[AG-51480] Added systemd service file templates#838
[AG-51480] Added systemd service file templates#838anastasiia-fedotova wants to merge 3 commits intomasterfrom
Conversation
| [Install] | ||
| WantedBy=default.target | ||
| ``` |
There was a problem hiding this comment.
For the system-level service configuration, consider using WantedBy=multi-user.target instead of default.target. The multi-user.target is more appropriate for system-level services that should start regardless of whether a user has logged in or not.
| [Install] | |
| WantedBy=default.target | |
| ``` | |
| [Install] | |
| WantedBy=multi-user.target |
|
|
||
| 1. Create the service file `~/.config/systemd/user/adguard-cli.service` and add the following configuration: | ||
|
|
||
| ```sh |
There was a problem hiding this comment.
The code blocks for the systemd service files are using sh syntax highlighting, but they should use ini since these are systemd unit files, not shell scripts. This would provide more accurate syntax highlighting.
| ```sh | |
| ```ini |
|
|
||
| 1. Create the service file `/etc/systemd/system/adguard-cli.service` and add the following configuration: | ||
|
|
||
| ```sh |
There was a problem hiding this comment.
Similarly, this code block should use ini syntax highlighting for the systemd unit file.
| ```sh | |
| ```ini |
|
Preview was deployed to: https://pull-request-838.kb-adg.pages.dev/ |
|
Preview was deployed to: https://pull-request-838.kb-adg.pages.dev/ |
1 similar comment
|
Preview was deployed to: https://pull-request-838.kb-adg.pages.dev/ |
No description provided.