summarylogtreecommitdiffstats
path: root/docker_makepkg.install
diff options
context:
space:
mode:
Diffstat (limited to 'docker_makepkg.install')
-rw-r--r--docker_makepkg.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker_makepkg.install b/docker_makepkg.install
new file mode 100644
index 000000000000..0bc73a99eb23
--- /dev/null
+++ b/docker_makepkg.install
@@ -0,0 +1,9 @@
+post_install() {
+ systemctl start docker-makepkg
+}
+
+post_remove() {
+ systemctl disable docker-makepkg.timer
+ systemctl stop docker-makepkg
+ docker image rm makepkg
+}