You are not logged in.

#1 2020-08-23 17:16:56

averdow
Member
Registered: 2020-08-23
Posts: 1

Post install steps (creating user for service)

I've figured out how to build a package but I can't find any documents on what should go in a package or any standards on managing users or services.

I'm specifically stuck on creating a user to run my service as.  This should happen outside the package build process but I don't know enough about what happens next to find those documents.

Offline

#2 2020-08-23 17:47:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Post install steps (creating user for service)

man systemd-sysusers
man sysusers.d

And one of many practical examples available:
https://github.com/archlinux/svntogit-p … cpcd/trunk

Last edited by Trilby (2020-08-23 17:51:01)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB