GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SVCLONE(8) FreeBSD System Manager's Manual SVCLONE(8)

svclone
clone Runit services

svclone [-crsu] svdir ...

svclone [-u] source target ...

Create new service stubs instead of cloning an existing service.
Remove supervise links from services.
Regenerate and update all supervise links.
When cloning a service treat source as a template: /usr/local/etc/sv/$source-template
Let created or updated supervise symlinks point into /var/run/runit/users/$USER instead of /var/run/runit. This is useful for user level services as users cannot normally write into /var/run/runit.

Create a user runsvdir(8) service to let kate run her own custom services (managed via ~/service) when the system boots up:
mkdir /usr/local/etc/sv/local
svclone /usr/local/etc/sv/{runsvdir-user-template,local/runsvdir@kate}
ln -s /usr/local/etc/sv/local/runsvdir@kate /var/service

Or the same but using -t:

mkdir /usr/local/etc/sv/local
svclone -t runsvdir-user local/runsvdir@kate
ln -s /usr/local/etc/sv/local/runsvdir@kate /var/service

kate can now create, enable, and manage a user-level sndiod instance by herself:

mkdir ~/.sv ~/service
svclone -u /usr/local/etc/sv/sndiod ~/.sv/sndiod
ln -s ~/.sv/sndiod ~/service

ln(1), runsvdir(8), sv(8)

Tobias Kortkamp <tobik@FreeBSD.org>
June 9, 2019 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.