service/services/authd.spec

15 lines
327 B
RPMSpec

name: authd
command: authd -K jwt_key -s users
user: authd
provides: auth
%file /run/ipc
name: IPC directory
creation-command: install -d -m6777 /run/ipc
%file jwt_key
name: JWT key
creation-command: head -c 64 /dev/urandom | base64 > jwt_key
%file users
name: users
creation-command: install -d -m700 users