mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
be2806ee9e
- secure remove (only remove things if we did add the thing ) - switch to ynh_replace_string for some stuff (instead of templates, discouraged) - extract some part pour restore script
15 lines
396 B
Desktop File
15 lines
396 B
Desktop File
[Unit]
|
|
Description=Diaspora social network (unicorn - instance __APP__)
|
|
PartOf=__APP__.target
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Environment=RAILS_ENV=production
|
|
WorkingDirectory=__FINALPATH__/diaspora
|
|
PIDFile=/run/__APP__/diaspora.pid
|
|
ExecStart=/bin/bash -lc "bin/bundle exec unicorn -c config/unicorn.rb -E production"
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=__APP__.target
|