Updating authd.spec.
parent
106e7612e9
commit
3a6d16840c
|
@ -1,22 +1,22 @@
|
|||
name: authd
|
||||
command: authd -K ${SERVICE_ROOT}/jwt_key -u ${SERVICE_ROOT}/passwd -g ${SERVICE_ROOT}/group
|
||||
environment-variables:
|
||||
- LD_LIBRARY_PATH=/usr/local/lib
|
||||
user: authd
|
||||
command: /home/lukc/Sources/authd/bin/authd -K /srv/${ENVIRONMENT}/jwt_key -u /srv/${ENVIRONMENT}/passwd -g /srv/${ENVIRONMENT}/group
|
||||
%check
|
||||
name: Creating IPC directory
|
||||
directory: /run/ipc
|
||||
command: install -d -m6777 /run/ipc
|
||||
%check
|
||||
name: Creating JWT key
|
||||
file: /srv/${ENVIRONMENT}/jwt_key
|
||||
command: head -c 64 /dev/urandom | base64 > /srv/${ENVIRONMENT}/jwt_key
|
||||
%check
|
||||
name: passwd file
|
||||
file: /srv/${ENVIRONMENT}/passwd
|
||||
command: touch /srv/${ENVIRONMENT}/passwd
|
||||
%check
|
||||
name: group file
|
||||
file: /srv/${ENVIRONMENT}/group
|
||||
command: touch /srv/${ENVIRONMENT}/group
|
||||
provides: auth
|
||||
%pre-start
|
||||
name: Creating IPC directory
|
||||
unless-directory: /run/ipc
|
||||
command: install -d -m6777 /run/ipc
|
||||
%pre-start
|
||||
name: Creating JWT key
|
||||
unless-file: ${SERVICE_ROOT}/jwt_key
|
||||
command: head -c 64 /dev/urandom | base64 > ${SERVICE_ROOT}/jwt_key
|
||||
%pre-start
|
||||
name: passwd file
|
||||
unless-file: ${SERVICE_ROOT}/passwd
|
||||
command: touch ${SERVICE_ROOT}/passwd
|
||||
%pre-start
|
||||
name: group file
|
||||
unless-file: ${SERVICE_ROOT}/group
|
||||
command: touch ${SERVICE_ROOT}/group
|
||||
|
|
Loading…
Reference in New Issue