Created
July 21, 2023 08:43
-
-
Save wouitmil/ebb4df42472d7183c6baa89f53fe82de to your computer and use it in GitHub Desktop.
systemd sidefx hqueue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Hqueue Daemon | |
After=network-online.target | |
Wants=network-online.target systemd-networkd-wait-online.service | |
StartLimitIntervalSec=500 | |
StartLimitBurst=5 | |
[Service] | |
#PidFile=/opt/hqueue/paster.pid | |
Environment="LD_LIBRARY_PATH=/opt/hqueue/lib:${LD_LIBRARY_PATH}" | |
Restart=on-failure | |
RestartSec=5s | |
ExecStart=/opt/hqueue/bin/python /opt/hqueue/bin/paster serve --log-file "/opt/hqueue/errors.log" /opt/hqueue/hqserver.ini start | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment