Add usage comments to systemd unit file.
This commit is contained in:
parent
d442d083ed
commit
fb5f1f63a0
|
|
@ -8,10 +8,15 @@ Group=myapp
|
||||||
WorkingDirectory=/opt/myapp
|
WorkingDirectory=/opt/myapp
|
||||||
Environment=RACK_ENV=production
|
Environment=RACK_ENV=production
|
||||||
|
|
||||||
ExecStart=/usr/bin/puma
|
ExecStart=/opt/myapp/bin/puma
|
||||||
TimeoutStopSec=300
|
TimeoutStopSec=300
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
# Can copy this unit file into /etc/systemd/system/
|
||||||
|
# then edit for your installation details (user, group, directory, exec, app name)
|
||||||
|
# run "sudo systemctl daemon-reload",
|
||||||
|
# then "sudo systemctl enable --now -q myapp.service"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue