diff options
Diffstat (limited to 'diaspora.service')
-rw-r--r-- | diaspora.service | 15 |
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 |