[Unit] Description=SmartTMS Service After=mysqld.service Wants=mysqld.service [Service] Type=forking User=root ExecStart=/usr/bin/smarttms start ExecStop=/usr/bin/smarttms stop ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure RestartSec=5 TimeoutStartSec=300 TimeoutStopSec=300 [Install] WantedBy=multi-user.target