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
Éric Gaspar d126322edd v2
2024-02-23 20:21:06 +01:00

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