initial commit of file from CVS for e-smith-runit on Wed 12 Jul 09:08:56 BST 2023
This commit is contained in:
3
root/usr/bin/svc-start
Executable file
3
root/usr/bin/svc-start
Executable file
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
exec /etc/rc.d/init.d/$1 start
|
3
root/usr/bin/svc-stop
Executable file
3
root/usr/bin/svc-stop
Executable file
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
exec /etc/rc.d/init.d/$1 stop
|
15
root/usr/lib/systemd/system/runit.service
Normal file
15
root/usr/lib/systemd/system/runit.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Process Supervising Daemon
|
||||
Before= bootstrap-console.service
|
||||
Before=multi-user.target sme-server.target network.target network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
Restart=always
|
||||
ExecStart=/etc/runit/2
|
||||
TimeoutSec=0
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
Reference in New Issue
Block a user