summarylogtreecommitdiffstats
path: root/diaspora.service
diff options
context:
space:
mode:
authorJonne Haß2016-09-05 20:57:59 +0200
committerJonne Haß2016-09-05 20:57:59 +0200
commit6c59b63b07c97df3464aa2e0497c9cb99d62c753 (patch)
tree5a3c80ad63c9328a8776f02b1bbe4ed4dce76b44 /diaspora.service
downloadaur-6c59b63b07c97df3464aa2e0497c9cb99d62c753.tar.gz
diaspora-postgresql-git: add
Diffstat (limited to 'diaspora.service')
-rw-r--r--diaspora.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/diaspora.service b/diaspora.service
new file mode 100644
index 000000000000..9fc3e09388d5
--- /dev/null
+++ b/diaspora.service
@@ -0,0 +1,15 @@
+[Unit]
+Wants=redis.service
+After=postgresql.service
+
+[Service]
+User=diaspora
+WorkingDirectory=/usr/share/webapps/diaspora
+Environment=RAILS_ENV=production
+ExecStart=/usr/share/webapps/diaspora/script/server
+Restart=always
+StandardInput=null
+KillMode=control-group
+
+[Install]
+WantedBy=multi-user.target