But the things that you can do with supervisorctl work as usual, meaning that you can simply deploy your old configuration file. Currently it works for gcc/gfortran/g95 etc. ![]() I am trying to use it from cygwin, because cygwin is allowing my development machine to ssh in and run a bash script every night. Point 5 installs supervisord as a Windows service, so that you can control it (start/stop/restart) from the Windows service manager. It is tested on many platform every night, and I would like to add ifort/Windows to the nightly testing. Go to the Windows service manager and start the service supervisord that you just installed. ![]() Here's how I do it:Ĭygrunsrv -install supervisord -path /home/Administrator/supervisor/venv/bin/python -args "/home/Administrator/supervisor/venv/bin/supervisord -n -c /home/Administrator/supervisor/nf" Now you probably want to install supervisord as a service. Keep in mind that supervisord will be running with Cygwin, so you better use paths the Cygwin way (C:\myservers\project1 translates to /cygdrive/c/myservers/project1 in Cygwin). During the installation process, select Python.įrom the Cygwin terminal, install virtualenv as usual.Ĭreate a virtualenv for supervisord, and then install as usual:Ĭonfigure supervisord in the usual way. If you have not done it yet, install Cygwin. There is no need to learn a new tool, and you will even save quite a bit of work if you need to deploy a complicated project across multiple platforms. ![]() Despite the big fat disclaimer here, you can run Supervisor with Cygwin in Windows it turns out that Cygwin goes a long way to simulate a Posix environment, so well that in fact supervisord runs unchanged.
0 Comments
Leave a Reply. |