.Dd Created:2025-12-16|Updated:2026-01-17| .de ocsi \\$* , .. .de oxr .ocsi .Xr \\$* .. .de oit .It \\$* .. .de obdi .Bl -dash -compact .oit \\$* .. .de obdl .Bd -literal -compact \\$* .. .de onote .Bl -hang -compact .oit \\$* .El .. .de ocomm .Bl -diag -compact .oit \\$* .El .. .de opsy .Pp .Sy - \\$* .. .de obc .Bl -column \\$* .. .de obc2 .obc opt desc .. .de obc3 .obc option arguments description .. .Dt VOIDLINUX oh .Os voidLinux | .Nm voidLinux .Nd usage .Sh SERVICES .Ss create .Bl -enum -compact .It Create the service directory. .Bd -literal -compact mkdir /etc/sv/[SERVICE_NAME] .Ed .It Create the down file for testing. .Bd -literal -compact touch /etc/sv/[SERVICE_NAME]/down .Ed .It Create the run script. .Bd -literal -compact ${EDITOR} /etc/sv/[SERVICE_NAME]/run .Ed .It Add the executable permission to the run script. .Bd -literal -compact chmod +x /etc/sv/[SERVICE_NAME]/run .Ed .It Create the link on /var/services. .Bd -literal -compact ln -s /etc/sv/[SERVICE_NAME] /var/service/. .Ed .It Test the service. .Bd -literal -compact sv once [SERVICE_NAME] .Ed .It If it worked as expected, remove down. .Bd -literal -compact rm /etc/sv/[SERVICE_NAME]/down .Ed .El .Sh SEE ALSO .Xr linux oh .Ss links .obc2 .It - Lk https://docs.voidlinux.org/config/services/index.html voidLinux services .El .Sh AUTHORS .An -nosplit .Xr ohazot oh | .Xr about oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com