summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-02-08 12:49:31 +0200
committerLars Wirzenius <liw@liw.fi>2018-02-08 17:53:46 +0200
commit6b820e28e6267712e9d7b1563eda7d11a1581666 (patch)
treed6e31e09b14c22cec1b38b6217b1f2ee9b482bbf
parent72a62a6abb727cfdeb38747defd150899e120a67 (diff)
downloadick2-6b820e28e6267712e9d7b1563eda7d11a1581666.tar.gz
Fix: path to worker manager config file in .service
Also, drop the config file, we don't want to install it always.
-rw-r--r--ick-worker.service2
-rw-r--r--worker_manager.yaml24
2 files changed, 1 insertions, 25 deletions
diff --git a/ick-worker.service b/ick-worker.service
index d2d2416..14c0995 100644
--- a/ick-worker.service
+++ b/ick-worker.service
@@ -15,7 +15,7 @@
[Unit]
Description=ick worker
After=network.target
-ConditionPathExists=/etc/ick/worker.yaml
+ConditionPathExists=/etc/ick/worker_manager.yaml
[Service]
Type=simple
diff --git a/worker_manager.yaml b/worker_manager.yaml
deleted file mode 100644
index d7876ab..0000000
--- a/worker_manager.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 2017 Lars Wirzenius
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-config:
- controller: https://127.0.0.1
- name: worker1
- log: /var/log/ickwm/worker_manager.log
- log-level: debug
- log-max: 10M
- log-keep: 10
- token-key: /etc/ick/token_key
- token-key-pub: /etc/ick/token_key.pub
- workspace: /var/lib/ick/workspace