smeserver-mysql/root/usr/lib/systemd/system/mysql.init.service

19 lines
371 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Koozali SME Server mysql DB injector for mariadb
After=mariadb.service
Requires=mariadb.service
[Service]
Type=oneshot
Restart=no
TimeoutSec=10min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/sbin/e-smith/systemd/mysql.init start
ExecStop=/sbin/e-smith/systemd/mysql.init stop
[Install]
WantedBy=sme-server.target