First draft of example single file roda app
This commit is contained in:
parent
671955a386
commit
514108bfc9
8 changed files with 143 additions and 2 deletions
17
myapp.service
Normal file
17
myapp.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=My roda template
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=myapp
|
||||
Group=myapp
|
||||
WorkingDirectory=/opt/myapp
|
||||
Environment=RACK_ENV=production
|
||||
|
||||
ExecStart=/usr/bin/puma
|
||||
TimeoutStopSec=300
|
||||
KillMode=mixed
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue