diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-11-29 18:21:49 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-11-29 20:22:05 +0100 |
commit | 30e1cd48f2fa0618e366a32a89e59c75956b4623 (patch) | |
tree | a960328748589b0c18131f99eacf1b8915e45487 | |
parent | 72edfd39e9c141fff1444916e61f00944977dfdc (diff) | |
download | ick2-30e1cd48f2fa0618e366a32a89e59c75956b4623.tar.gz |
Add: create workspace directory for worker-manager
-rw-r--r-- | debian/ick2.dirs | 1 | ||||
-rw-r--r-- | debian/ick2.postinst | 7 | ||||
-rw-r--r-- | worker_manager.yaml | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/debian/ick2.dirs b/debian/ick2.dirs index f3a2c00..a398f42 100644 --- a/debian/ick2.dirs +++ b/debian/ick2.dirs @@ -1 +1,2 @@ var/lib/ick +var/lib/ick/workspace diff --git a/debian/ick2.postinst b/debian/ick2.postinst index 028139b..f66dbda 100644 --- a/debian/ick2.postinst +++ b/debian/ick2.postinst @@ -37,10 +37,13 @@ create_user() create_user _ick /var/lib/ick /var/log/ick create_user _ickwm /var/lib/ick/wm /var/log/ickwm +# Create controller config dir. +install -d -m 0755 -o root -g root /etc/ick + # Create controller state dir install -d -m 0755 -o _ick -g _ick /var/lib/ick/state -# Create controller config dir. -install -d -m 0755 -o root -g root /etc/ick +# Create worker-manager workspace +install -d -m 0755 -o _ickwm -g _ickwm /var/lib/ick/workspace #DEBHELPER# diff --git a/worker_manager.yaml b/worker_manager.yaml index 1279336..d7876ab 100644 --- a/worker_manager.yaml +++ b/worker_manager.yaml @@ -21,3 +21,4 @@ config: log-keep: 10 token-key: /etc/ick/token_key token-key-pub: /etc/ick/token_key.pub + workspace: /var/lib/ick/workspace |