SuperTux88's Diaspora Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
414B

  1. [Unit]
  2. Description=A privacy aware distributed social network
  3. {%- if diaspora.install_redis %}
  4. Wants={{ diaspora.redis_service }}.service
  5. {%- endif %}
  6. [Service]
  7. User={{ diaspora.user.username }}
  8. Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }}
  9. WorkingDirectory={{ diaspora.install_path }}
  10. ExecStart=/bin/bash -lc "script/server"
  11. Restart=on-failure
  12. [Install]
  13. WantedBy=multi-user.target