summarylogtreecommitdiffstats
path: root/hhvm.install
diff options
context:
space:
mode:
authorYen Chi Hsuan2015-06-14 20:39:30 +0800
committerYen Chi Hsuan2015-06-14 20:40:24 +0800
commit977d93dfe243610b25d14af6e238a02cad330b96 (patch)
tree890d5c1d29090ed736aca362ea698a7421a3b513 /hhvm.install
downloadaur-977d93dfe243610b25d14af6e238a02cad330b96.tar.gz
Initial import
Diffstat (limited to 'hhvm.install')
-rw-r--r--hhvm.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/hhvm.install b/hhvm.install
new file mode 100644
index 000000000000..6f322339526a
--- /dev/null
+++ b/hhvm.install
@@ -0,0 +1,11 @@
+post_install() {
+ if [[ ! -d run/hhvm ]]; then
+ usr/bin/systemd-tmpfiles --create hhvm.conf
+ fi
+
+ echo Run 'systemctl start hhvm@server.service' to start the server.
+}
+
+post_upgrade() {
+ post_install
+}