diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-27 12:42:51 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-27 12:42:51 +0200 |
commit | bc97f470c79be251090e91d5c471004b7937a43b (patch) | |
tree | 464616ce05a57e7ad4c96d7137e753e087f2aee6 /linux-status.install | |
parent | update .gitignore (diff) | |
download | linux-status-bc97f470c79be251090e91d5c471004b7937a43b.tar.gz linux-status-bc97f470c79be251090e91d5c471004b7937a43b.zip |
aur: 2.3.2-2
Diffstat (limited to '')
-rw-r--r-- | linux-status.install | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux-status.install b/linux-status.install index 32b9a90..7d4e216 100644 --- a/linux-status.install +++ b/linux-status.install @@ -1,12 +1,14 @@ +pkgname=linux-status + post_install() { systemctl --system daemon-reload - systemctl --system enable linux-status - systemctl --system start linux-status + systemctl --system enable "$pkgname.service" + systemctl --system start "$pkgname.service" } pre_remove() { - systemctl --system stop linux-status.service - systemctl --system disable linux-status.service + systemctl --system stop "$pkgname.service" + systemctl --system disable "$pkgname.service" systemctl --system daemon-reload } |