summarylogtreecommitdiffstats
path: root/diaspora.service
diff options
context:
space:
mode:
authorJonne Haß2016-09-05 20:57:16 +0200
committerJonne Haß2016-09-05 20:57:16 +0200
commit1a89cbaf6547732321635df0a5049f94840de001 (patch)
tree86c4da07a5cc41cab64a772df3305fd9e96cf7fb /diaspora.service
downloadaur-1a89cbaf6547732321635df0a5049f94840de001.tar.gz
diaspora-mysql: 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..80bff7b60b50
--- /dev/null
+++ b/diaspora.service
@@ -0,0 +1,15 @@
+[Unit]
+Wants=redis.service
+After=mariadb.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