running puma w/ systemd
This commit is contained in:
parent
4109266fa5
commit
5ec5240deb
1 changed files with 12 additions and 0 deletions
12
script/systemd/zammad.service
Normal file
12
script/systemd/zammad.service
Normal 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
|
Loading…
Reference in a new issue