mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
15 lines
324 B
SYSTEMD
15 lines
324 B
SYSTEMD
|
[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
|