-
-
Notifications
You must be signed in to change notification settings - Fork 88
Examples & Recipes
Akram El Assas edited this page Sep 14, 2025
·
117 revisions
Services can be installed and configured easily through the Servy GUI, but this page focuses on real-world examples using the Servy CLI for automation, scripting, and CI/CD scenarios.
Once installed, the CLI executable is available at:
C:\Program Files\Servy\servy-cli.exe
servy-cli install `
--name "MyNodeApp" `
--description "Node.js Express API" `
--path "C:\Program Files\nodejs\node.exe" `
--params "C:\apps\myapp\server.js" `
--startupDir "C:\apps\myapp" `
--startupType "Automatic"servy-cli install `
--name "MyPythonJob" `
--description "Python background job" `
--path "C:\Python311\python.exe" `
--params "C:\apps\scripts\job.py" `
--startupDir "C:\apps\scripts" `
--startupType "Automatic"servy-cli install `
--name "MyJavaService" `
--description "Java Spring Boot App" `
--path "C:\Program Files\Java\jdk-21\bin\java.exe" `
--params "-jar C:\apps\springboot\app.jar" `
--startupDir "C:\apps\springboot" `
--startupType "Automatic"servy-cli install `
--name "MyDotNetApp" `
--description ".NET Worker Service" `
--path "C:\apps\dotnetapp\MyApp.exe" `
--startupDir "C:\apps\dotnetapp" `
--startupType "Automatic"Or, if using dotnet runtime with a DLL:
servy-cli install `
--name "MyDotNetApp" `
--description ".NET Worker Service" `
--path "C:\Program Files\dotnet\dotnet.exe" `
--params "C:\apps\dotnetapp\app.dll" `
--startupDir "C:\apps\dotnetapp" `
--startupType "Automatic"Tip: You can view and manage all installed services visually using Servy Manager, or automate deployments via Servy CLI.
Copyright © Akram El Assas. All rights reserved.
- Home
- Overview
- Installation Guide
- Advanced Configuration
- Usage
- Servy Desktop App
- Servy Manager
- Servy CLI
- PowerShell Module
- Examples & Recipes
- Logging & Log Rotation
- Health Monitoring & Recovery
- Environment Variables
- Service Dependencies
- Pre-Launch & Post-Launch Actions
- Pre-Stop & Post-Stop Actions
- Shutdown & Teardown
- Export/Import Services
- Automation & CI/CD
- Integration with Monitoring Tools
- Service Event Notifications
- Comparison with Alternatives
- Security
- Architecture
- Building from Source
- Troubleshooting
- FAQ