1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Greyhole Requires=mysqld.service After=syslog.target network.target mysqld.service [Service] Type=simple ExecStartPre=/usr/bin/greyhole --test-config ExecStart=/usr/bin/greyhole --daemon ExecReload=/usr/bin/kill -HUP $MAINPID Restart=always RestartSec=5 [Install] WantedBy=multi-user.target