Fix SLES 15 packaging

SLES 15 doesn't have any sort of init functions which is why the error is
converted to a status message. A dummy file that just prints an error is
placed into /etc/init.d/ to make it clear to the users that they should
use systemd to start MaxScale.
This commit is contained in:
Markus Mäkelä
2018-08-15 13:24:06 +03:00
parent 646c22e384
commit e644debdf7
2 changed files with 9 additions and 2 deletions

4
etc/fallback/maxscale.in Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
echo "Init scripts are not supported on this platform, use either systemd or launch MaxScale manually"
exit 1