ansible/roles/mete/templates/service.j2

13 lines
238 B
Plaintext
Raw Permalink Normal View History

2021-02-17 00:38:59 +01: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