summarylogtreecommitdiffstats
path: root/mysql-router.install
diff options
context:
space:
mode:
authorChristian Hesse2016-03-31 00:19:41 +0200
committerChristian Hesse2016-03-31 00:19:41 +0200
commitb04458e2f3217ec358cf4a11f8647eda78125d12 (patch)
tree7a55b07a385ff9ed107680246754593f4e45d1d5 /mysql-router.install
parent70804838daa1ffe2d15423afbd781a8c3d035aab (diff)
downloadaur-b04458e2f3217ec358cf4a11f8647eda78125d12.tar.gz
commit mysql-router 2.0.3-1
Diffstat (limited to 'mysql-router.install')
-rw-r--r--mysql-router.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-router.install b/mysql-router.install
new file mode 100644
index 000000000000..cefa0967ec95
--- /dev/null
+++ b/mysql-router.install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+prepare() {
+ systemd-sysusers /usr/lib/sysusers.d/mysqlrouter.conf
+ systemd-tmpfiles --create
+}
+
+post_install() {
+ prepare
+}
+
+post_upgrade() {
+ prepare
+}