Difference between revisions of "GitHub Actions: svc.sh"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  ./svc.sh
 
  ./svc.sh
 
    
 
    
Usage:
+
===Usage===
 
  ./svc.sh [install, start, stop, status, uninstall]
 
  ./svc.sh [install, start, stop, status, uninstall]
  
 +
===Start===
 +
<code>./svc.sh start</code>
 +
 +
===Status===
 
  ./svc.sh status
 
  ./svc.sh status
 
  status actions.runner.xxxx.yyyy:  
 
  status actions.runner.xxxx.yyyy:  
 
  not installed
 
  not installed
  
 +
./svc.sh status
 +
Stopped
 +
 +
===Install===
 
  ./svc.sh install
 
  ./svc.sh install
 
  Creating launch runner in [[/Users/administrator/Library/LaunchAgents/]]actions.runner.xxxxx.yyy[[.plist]]
 
  Creating launch runner in [[/Users/administrator/Library/LaunchAgents/]]actions.runner.xxxxx.yyy[[.plist]]
Line 17: Line 25:
 
  Creating .service
 
  Creating .service
 
  svc install complete
 
  svc install complete
 
./svc.sh status
 
Stopped
 
 
<code>./svc.sh start</code>
 
 
  
  

Revision as of 12:12, 7 October 2021

./svc.sh
 

Usage

./svc.sh [install, start, stop, status, uninstall]

Start

./svc.sh start

Status

./svc.sh status
status actions.runner.xxxx.yyyy: 
not installed
./svc.sh status
Stopped

Install

./svc.sh install
Creating launch runner in /Users/administrator/Library/LaunchAgents/actions.runner.xxxxx.yyy.plist
Creating /Users/administrator/Library/Logs/actions.runner.xxxxx.yyy
Creating /Users/administrator/Library/LaunchAgents/actions.runner.xxxxx.yyy.plist
Creating runsvc.sh
Creating .service
svc install complete


See also

Advertising: