once-bin
This commit is contained in:
5 files changed
+2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
post_install() {
|
||||
echo ':: Enable the background service with: systemctl enable --now once-background.service'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if systemctl is-active --quiet once-background.service; then
|
||||
systemctl restart once-background.service
|
||||
fi
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
if systemctl is-active --quiet once-background.service; then
|
||||
systemctl disable --now once-background.service
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user