ansible/roles/mete/templates/service.j2
2021-02-16 23:38:59 +00:00

12 lines
238 B
Django/Jinja

[Unit]
Description=Mete application server on {{ mete_domain }}
[Service]
ExecStart=/bin/bundler exec rails server
WorkingDirectory={{ mete_app_dir }}
User=www-data
Environment=RAILS_ENV=production
[Install]
WantedBy=multi-user.target