Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias line in systemd config for supervisord can cause startup failure #96

Open
pvanheus opened this issue Sep 18, 2018 · 0 comments
Open

Comments

@pvanheus
Copy link
Contributor

A startup problem was found on baobab-demo1.sanbi.ac.za and baobab-demo2.sanbi.ac.za. This was related to a problem caused by an Alias line having the same name as the unit name, as described in this stackoverflow question. Commenting out the Alias line allows systemctl enable supervisord.service to work and thus the LIMS to start on boot.

I could not find the source describing this systemd configuration, but here is a working config:

[Unit]
Description=Supervisor daemon
Documentation=http://supervisord.org
After=network.target

[Service]
ExecStart=/usr/local/bin/supervisord -n -c /etc/supervisor/supervisord.conf
ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown
ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload
KillMode=process
Restart=on-failure
RestartSec=42s

[Install]
WantedBy=multi-user.target
#Alias=supervisord.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant