authd, todod: updated service files.
parent
3d49ca43be
commit
5d4cad69a6
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
Loading…
Reference in New Issue