Skip to content

Support for user services #19

Description

@mobinmob

66 supports user services natively. This is an issue to track the implementation of them in the project.
The 66 package supports user services and uses the default directories for them (~/.66). The first step to enable them is to create a scandir with proper configuration. obarun provides an excellent module for doing exactly that - scandir-66serv. The following template will create a suitable package for voidlinux:

# Template file for 'scandir-66serv'
pkgname=scandir-66serv
version=0.2.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=configure
depends="66 66-tools"
short_desc="66 module that enables user services"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://framagit.org/pkg/obmods/scandir-66serv"
distfiles="https://framagit.org/pkg/obmods/scandir-66serv/-/archive/v${version}/scandir-66serv-v${version}.tar.bz2"
checksum=a751037001b52e35d6a1d591b2491cf4875eb3a48ccb33fa9263ed08b8f9c48b

post_install() {
	vlicense LICENSE
}

Το enable and start the scandir service for a user after installing the package:
sudo 66-enable -t tree -S scandir@user
Replace tree with the name of the tree you want the service enabled in and user with the account user.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions