Category : shell

I’m trying to set up a script to run as a service instead of having to manually run the script each & every time. ‚óŹ radius-okta-run.service – ‘run.sh’ script to start RADIUS to OKTA MFA Loaded: loaded (/etc/systemd/system/radius-okta-run.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2021-10-21 12:36:49 EDT; 11min ago Process: 16361 ..

Read more

I have a simple gradle task which shells out to python to do some deployment stuff. However, it seems to use an arbitrary version of python in its commandLine call. task deploy(type: Exec) { dependsOn ‘clean’ dependsOn ‘build’ tasks.findByName(‘build’).mustRunAfter ‘clean’ workingDir "$buildDir/deploy/" commandLine "which", "python3" } yields /Users/cchow/projects/<project>/venv/bin/python3 as expected. I have a virtualenv active ..

Read more