Comments (3)
in addition tot his, is it possible to provide a command in double quotes? eg: --command /hitme="/bin/sudo -u user /path/to/script"
from apply-server.
@veics You can quote commands like --command /hitme="/path/to/script.sh param1 param2 param3"
. The first part is meant to be a script that runs with the same user as apply-server itself. You can do fancy things in this script, but always double-check what you make available from this "external http trigger".
providing the absolute path to a script within --command option
I tested this and it worked, please provide a more detailed example if the problem persists.
from apply-server.
Please re-open if thee problem persists.
from apply-server.
Related Issues (13)
- Support for https
- For the case payload is optional, the format has to be optional
- Allow to stream response for long-running scripts and return script result (exit code) via last line
- Handle script exit codes more consistently
- Filtering logs are swallowed in streaming response mode
- For property variables that don't get replaced with a value during filtering, show a better message if a OS env variable exist for them
- Example Script for Apache HTTPD HOT 1
- Include complete ReST API documentation HOT 1
- Use standard "authorization" header instead of custom "apikey"
- Support symlinks
- Integrate Maven build with GitHub workflows and run Sonarcloud.io analysis
- Add badges to Readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apply-server.