running puma w/ systemd

This commit is contained in:
rkaldung 2014-08-22 18:49:41 +02:00
parent 4109266fa5
commit 5ec5240deb

View file

@ -0,0 +1,12 @@
[Unit]
Description=Zammad Application
[Service]
Type=forking
User=zammad
WorkingDirectory=/homer/zammad/zammad
Environment=RAILS_ENV=production
ExecStart=puma -p 3000 -d -e production
[Install]
WantedBy=multi-user.target