summaryrefslogtreecommitdiff
path: root/pcr/diaspora/diaspora.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-07 08:03:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-07 08:41:49 -0300
commit523a4df563343d6676be5c065688440dac367795 (patch)
treeec1bf846e2761eb4ad5d45785ce4b38e19ca9c4b /pcr/diaspora/diaspora.service
parent0376cdd9964e51be290270c6148910eae89ac366 (diff)
downloadabslibre-523a4df563343d6676be5c065688440dac367795.tar.gz
abslibre-523a4df563343d6676be5c065688440dac367795.tar.bz2
abslibre-523a4df563343d6676be5c065688440dac367795.zip
diaspora: add new package to [pcr]
Diffstat (limited to 'pcr/diaspora/diaspora.service')
-rw-r--r--pcr/diaspora/diaspora.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/diaspora/diaspora.service b/pcr/diaspora/diaspora.service
new file mode 100644
index 000000000..9dc63a365
--- /dev/null
+++ b/pcr/diaspora/diaspora.service
@@ -0,0 +1,14 @@
+[Unit]
+Wants=redis.service
+Wants=%db%.service
+
+[Service]
+User=diaspora
+WorkingDirectory=/usr/share/webapps/diaspora
+ExecStart=/bin/bash -lc "true; source .bashrc; ./script/server"
+Restart=always
+StandardInput=null
+KillMode=control-group
+
+[Install]
+WantedBy=multi-user.target