1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00
diaspora_ynh/conf/diaspora_sidekiq.service
Augustin Trancart be2806ee9e Refacto install script
- 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
2020-05-21 14:43:45 +02:00

13 lines
291 B
Desktop File

[Unit]
Description=Diaspora social network (sidekiq - instance __APP__)
PartOf=__APP__.target
[Service]
User=__APP__
Environment=RAILS_ENV=production
WorkingDirectory=__FINALPATH__/diaspora
ExecStart=/bin/bash -lc "bin/bundle exec sidekiq"
Restart=always
[Install]
WantedBy=__APP__.target