authd, todod: updated service files.

This commit is contained in:
Luka Vandervelden 2020-01-04 09:10:55 +01:00
parent 3d49ca43be
commit 5d4cad69a6
3 changed files with 12 additions and 16 deletions

View File

@ -1,17 +1,14 @@
name: authd
command: authd -K jwt_key -u passwd -g group
command: authd -K jwt_key -s users
user: authd
provides: auth
%file /run/ipc
name: IPC directory
command: install -d -m6777 /run/ipc
creation-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
%file users
name: users
creation-command: install -d -m700 users

View File

@ -1,8 +0,0 @@
name: kanband
command: kanband -k ${AUTHD_ROOT}/jwt_key -S data
user: kanband
consumes: auth
%file data
name: storage directory
creation-command: mkdir -p data && chown kanband:kanband data

7
services/todod.spec Normal file
View File

@ -0,0 +1,7 @@
name: todod
command: todod -K ${AUTH_ROOT}/jwt_key -s data
consumes: auth
%file data
name: storage directory
creation-command: mkdir -p data