mirror of
https://github.com/YunoHost-Apps/huginn_ynh.git
synced 2024-09-03 19:26:13 +02:00
17 lines
421 B
Desktop File
17 lines
421 B
Desktop File
[Unit]
|
|
Description=__APP__-jobs service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
EnvironmentFile=__INSTALL_DIR__/.env
|
|
Environment="__YNH_RUBY_LOAD_PATH__"
|
|
ExecStart=/opt/rbenv/versions/__APP__/bin/bundle exec rails runner bin/threaded.rb
|
|
StandardOutput=append:__INSTALL_DIR__/log/__APP__-jobs.log
|
|
StandardError=inherit
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|