1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/huginn_ynh.git synced 2024-09-03 19:26:13 +02:00
huginn_ynh/conf/jobs.service
2022-03-25 22:59:08 +01:00

17 lines
415 B
Desktop File

[Unit]
Description=__APP__-jobs service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
EnvironmentFile=__FINALPATH__/.env
Environment="__YNH_RUBY_LOAD_PATH__"
ExecStart=/opt/rbenv/versions/__APP__/bin/bundle exec rails runner bin/threaded.rb
StandardOutput=append:__FINALPATH__/log/__APP__-jobs.log
StandardError=inherit
[Install]
WantedBy=multi-user.target