The systemd unit file should not be executable. I was receiving the following message in syslog:
systemd[1]: Configuration file /etc/systemd/system/supervisord.service is marked executable. Please remove executable permission bits. Proceeding anyway.
I introduced a new variable init_mode which value will change depending on the init_type.
The systemd unit file should not be executable. I was receiving the following message in syslog:
systemd[1]: Configuration file /etc/systemd/system/supervisord.service is marked executable. Please remove executable permission bits. Proceeding anyway.
I introduced a new variable
init_mode
which value will change depending on theinit_type
.