services: Add example service to base new services off of
This commit is contained in:
parent
7c0bd5738f
commit
4f18b548f4
2 changed files with 7 additions and 0 deletions
3
services/sv/_example/log/run
Executable file
3
services/sv/_example/log/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
exec svlogd -ttt /home/marty/myservice/logs
|
4
services/sv/_example/run
Executable file
4
services/sv/_example/run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
exec /home/marty/myservice/example-service.sh
|
Loading…
Reference in a new issue