runitscripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit d985d1f3cbcdd288d10111db280ec763dada03c0
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 15 Nov 2019 01:21:14 +0300

initial commit

Diffstat:
AREADME | 18++++++++++++++++++
Arunsvdir-cem/run | 3+++
Ascron/run | 2++
Asyncthing/run | 3+++
4 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -0,0 +1,18 @@ +Cem's Runit Scripts +=================== + +Here are the runit scripts that I use, if anyone +is interested at all. + +I have added every script that I even slightly modified, +so don't expect much + + +Current Services +---------------- + +Currently, as modified/created services, I run + +* scron, which I changed its output to /var/log/cron +* runsvdir-cem, which runs the services on my ~/.service directory as user services. +* syncthing, which is on my service directory, running as a user service diff --git a/runsvdir-cem/run b/runsvdir-cem/run @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +exec chpst -u cem runsvdir /home/cem/.service > /var/log/runsvdir-cem.log 2>&1 diff --git a/scron/run b/scron/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec scrond -n >>/var/log/cron 2>&1 diff --git a/syncthing/run b/syncthing/run @@ -0,0 +1,3 @@ +#!/bin/sh +export HOME="/home/cem" +exec syncthing -no-browser