mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
16 lines
318 B
SYSTEMD
16 lines
318 B
SYSTEMD
|
[Unit]
|
||
|
Description=__APP__ sidekiq service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__
|
||
|
Environment=RAILS_ENV=production
|
||
|
ExecStart=__FINALPATH__/bin/bundle exec sidekiq -C config/sidekiq.yml
|
||
|
Restart=always
|
||
|
RestartSec=10
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|