Skip to content
Snippets Groups Projects
Commit e29c6d43 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

add systemd service

parent fd6ec992
No related branches found
No related tags found
No related merge requests found
......@@ -26,3 +26,4 @@ Gemfile.lock
puma.sh
start_puma.sh
stop_puma.sh
portalmec.service
[Unit]
Description=Control puma for portalmec
After=nginx.service
[Service]
Type=simple
ExecStart=/portalmec/puma.sh start
ExecStop=/portalmec/puma.sh stop
Restart=always
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment