summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/parabolaweb.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-22 23:03:46 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-22 23:03:46 -0200
commit93643331275b8ef2c4070077f260a52431133713 (patch)
tree0bd0a600fdbb3aeb6954c05bed9103101ad9d4b0 /libre/parabolaweb-utils/parabolaweb.service
parent10970cba29cb1f265bcd7045a693e50ac6bf24b0 (diff)
parent72780d31ec566cbd62df57a6ba4d8fc7bc90bf56 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/parabolaweb-utils/parabolaweb.service')
-rw-r--r--libre/parabolaweb-utils/parabolaweb.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb.service b/libre/parabolaweb-utils/parabolaweb.service
index d145e53d8..a59d58512 100644
--- a/libre/parabolaweb-utils/parabolaweb.service
+++ b/libre/parabolaweb-utils/parabolaweb.service
@@ -1,10 +1,13 @@
[Unit]
+Requires=postgresql.service
+After=postgresql.service
Description=ParabolaWeb
[Service]
Type=forking
-ExecStart=/usr/sbin/parabolaweb-fcgi pidfile=/run/web/parabolaweb.pid
PIDFile=/run/web/parabolaweb.pid
+ExecStartPre=/usr/bin/install -dm777 /run/web
+ExecStart=/usr/sbin/parabolaweb-fcgi pidfile=/run/web/parabolaweb.pid
[Install]
WantedBy=multi-user.target