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

18 lines
421 B
SYSTEMD
Raw Normal View History

2022-03-25 01:57:12 +01:00
[Unit]
Description=__APP__-jobs service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2023-09-28 22:23:08 +02:00
WorkingDirectory=__INSTALL_DIR__/
EnvironmentFile=__INSTALL_DIR__/.env
2022-03-25 22:59:08 +01:00
Environment="__YNH_RUBY_LOAD_PATH__"
ExecStart=/opt/rbenv/versions/__APP__/bin/bundle exec rails runner bin/threaded.rb
2023-09-28 22:23:08 +02:00
StandardOutput=append:__INSTALL_DIR__/log/__APP__-jobs.log
2022-03-25 01:57:12 +01:00
StandardError=inherit
[Install]
WantedBy=multi-user.target