Goip systemd service

cat /etc/systemd/system/goip.service

We should start goip service after mysql and we should be sure that it will autorestart on crash.

[Unit]
Description=Start SMS Goip Server
 
[Service]
WorkingDirectory=/usr/local/goip/
Type=forking
ExecStart=/bin/bash run_goipcron
KillMode=process
 
[Install]
WantedBy=default.target

Leave a Reply

Your email address will not be published. Required fields are marked *