services: Add example service to base new services off of

This commit is contained in:
Marty Oehme 2025-02-24 16:59:02 +01:00
parent 7c0bd5738f
commit 4f18b548f4
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 7 additions and 0 deletions
services/sv/_example

3
services/sv/_example/log/run Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
exec svlogd -ttt /home/marty/myservice/logs

4
services/sv/_example/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh -e
exec 2>&1
exec /home/marty/myservice/example-service.sh