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/web.service
2022-03-25 22:59:08 +01:00

17 lines
413 B
Desktop File

[Unit]
Description=__APP__-web 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 unicorn -c config/unicorn.rb
StandardOutput=append:__FINALPATH__/log/__APP__-web.log
StandardError=inherit
[Install]
WantedBy=multi-user.target