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

15 lines
324 B
SYSTEMD
Raw Normal View History

2019-12-02 21:04:01 +01:00
[Unit]
Description=Diaspora social network (sidekiq - instance {{ app }})
PartOf={{ app }}.target
StopWhenUnneeded=true
[Service]
User={{ app }}
Environment=RAILS_ENV=production
WorkingDirectory={{ final_path }}/diaspora
ExecStart=/bin/bash -lc "bin/bundle exec sidekiq"
Restart=always
[Install]
WantedBy={{ app }}.target