Add once-bin to edge (#70)
This package provides the ONCE tool (https://github.com/basecamp/once). ONCE is a tool for easy self-hosting of Docker-based web applications.
This commit is contained in:
1 parent
9d06052478
commit
84b51452c6
6 files changed
+90
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