authd, todod: updated service files.

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

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