service/services/authd.spec
Luka Vandervelden 87929be026 Updating service definitions format.
THIS IS A BREAKING CHANGE

Hopefully, this change will make it easier to remove data on service
removal, but also to export and backup service data and to add
per-service system users.

A few obsolete service definitions have also been updated to the new
format.

Testing is still incomplete, you may want to wait a few commits before
using this.
2019-11-08 14:36:59 +01:00

18 lines
372 B
Python

name: authd
command: authd -K jwt_key -u passwd -g group
user: authd
provides: auth
%file /run/ipc
name: IPC directory
command: install -d -m6777 /run/ipc
%file jwt_key
name: JWT key
creation-command: head -c 64 /dev/urandom | base64 > jwt_key
%file passwd
name: passwd file
command: touch passwd
%file group
name: group file
command: touch group