summarylogtreecommitdiffstats
path: root/tidb.install
diff options
context:
space:
mode:
authorAllen Zhong2018-04-19 18:03:21 +0800
committerAllen Zhong2018-04-19 18:03:21 +0800
commit61472bd98940695fd1965e09b26b0fcc43a91714 (patch)
treeedf7478b76a5a74301f1f22ddbed8e7dcbac5e5d /tidb.install
parentb1ab51207da83cda6408fc9c92a0e0f764926e10 (diff)
downloadaur-61472bd98940695fd1965e09b26b0fcc43a91714.tar.gz
update scripts & scplit to multiple sub-packages
Diffstat (limited to 'tidb.install')
-rw-r--r--tidb.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/tidb.install b/tidb.install
new file mode 100644
index 000000000000..34f216e8e6d1
--- /dev/null
+++ b/tidb.install
@@ -0,0 +1,14 @@
+#/bin/sh
+
+post_install() {
+ systemd-sysusers /usr/lib/sysusers.d/tidb.conf
+ systemd-tmpfiles --create /usr/lib/tmpfiles.d/tidb.conf
+ #systemctl daemon-reload
+}
+
+post_upgrade() {
+ # TODO: Add systemd services
+ #systemctl daemon-reload
+}
+
+# vim:set ts=2 sw=2 et: