authd, todod: updated service files.
This commit is contained in:
parent
3d49ca43be
commit
5d4cad69a6
@ -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
|
||||
|
@ -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
7
services/todod.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user