summaryrefslogtreecommitdiff
path: root/blob-service.service
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-02-07 18:54:13 +0200
committerLars Wirzenius <liw@liw.fi>2018-02-09 19:11:02 +0200
commit5cf3781ad4beddfab5aa7181c0990a5462ffe06f (patch)
treea50a769bc8b6cc7e31f28466002c7dc15f2433b4 /blob-service.service
parent4b6fd81e121935f60f29b8314bc7c44726bf6fd7 (diff)
downloadick2-5cf3781ad4beddfab5aa7181c0990a5462ffe06f.tar.gz
Change: make all .service units be conditional on config
If the config file is missing, the unit won't start.
Diffstat (limited to 'blob-service.service')
-rw-r--r--blob-service.service28
1 files changed, 0 insertions, 28 deletions
diff --git a/blob-service.service b/blob-service.service
deleted file mode 100644
index 8f2f046..0000000
--- a/blob-service.service
+++ /dev/null
@@ -1,28 +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/>.
-
-[Unit]
-Description=ick2 blob service
-After=network.target
-
-[Service]
-Type=simple
-User=_ickbs
-Group=_ickbs
-WorkingDirectory=/var/lib/ick/blobs
-ExecStart=/usr/bin/start_blob_service
-KillSignal=QUIT
-
-[Install]
-WantedBy=multi-user.target