ansible/roles/mete/templates/service.j2

13 lines
238 B
Text
Raw Normal View History

2021-02-16 17:38:59 -06:00
[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