[GIS] error while starting render on startup

mod-tileopenstreetmaprendering

i have configured a tile server by following the switch2osm

in the last step for starting the render automatically on startup
if i start the render as below vars.sh is missing

$ sudo /etc/init.d/renderd start
root's password:
/etc/init.d/renderd: line 33: /lib/init/vars.sh: No such file or directory

What is have missed in this?

Best Answer

/lib/init/vars.sh is a file provided by the initscripts package. This is a standard package installed on every Ubuntu and Debian system. The file contains various default values for init scripts.

According to your other posts you are using openSUSE but the instructions on switch2osm are written for Ubuntu. This isn't recommended. In other words it means that you will have to look at the /etc/init.d/renderd init script and determine if it really needs to include /lib/init/vars.sh. Maybe it doesn't need these default values at all or you can fix it by setting them manually at the corresponding positions.