From a15715a7accdbb9ce305d11c4c5877d00cb461e6 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Sun, 25 Aug 2024 12:46:36 +0200 Subject: [PATCH] feat: fix service --- README.md | 2 +- pkg/hayai@.service | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 pkg/hayai@.service diff --git a/README.md b/README.md index 0489353..d8b5593 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This software comes with zero guarantee. This software could fail at any time. I ## Arch Install the `ontake-hayai-git` package from the AUR. -Enable the service by running: `sudo systemctl enable --now hayai@[username]` +You can now use your desktop environment to set the `hayai` command to run automatically at login. # Configuration You can configure the software by modifying the values in `~/.config/ontake/hayai/config.yml` and then restarting the service. \ No newline at end of file diff --git a/pkg/hayai@.service b/pkg/hayai@.service deleted file mode 100644 index 170cd21..0000000 --- a/pkg/hayai@.service +++ /dev/null @@ -1,23 +0,0 @@ -[Unit] -Description=hayai - An EEW system for Linux -PartOf=graphical-session.target -StartLimitIntervalSec=60 -StartLimitBurst=4 - -[Service] -User=%i -ExecStart=/usr/bin/hayai -Restart=on-failure -RestartSec=1 -SuccessExitStatus=3 4 -RestartForceExitStatus=3 4 - -# Hardening -ProtectSystem=full -PrivateTmp=true -SystemCallArchitectures=native -MemoryDenyWriteExecute=true -NoNewPrivileges=true - -[Install] -WantedBy=graphical-session.target \ No newline at end of file