From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1506977988; bh=ZU2Pef3R+twv3zxM2MZ/gN9g1fF5Otf+1Oa+G411vRM=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=DvXAtyA3PcmoPW60irdB8wzKLxq5qWWzUXLREAu1TWfc9RPG2ip+n7ziQb+Ndn3lW Fg2nR4vFZCL0jix9/7UHeRg8dIm0XbEwoGYOtkflUZYl1LCrXyZPZQs3TgchPyhkE3 Odes0UtRDzibo9xVCApS6JGfFSK/ksfFB8sxwrpQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1506977987; bh=ZU2Pef3R+twv3zxM2MZ/gN9g1fF5Otf+1Oa+G411vRM=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=mOJoBpdIA6/SJT1Z7w0TLAA/r5ifRXd6aiLZ6HX1exVFyRQVZU/tjqyKzaVqb061W zVmP8HqLTtFIgei29anJqTvERcM1o8h3+eFHA7fjtR549cmARXA1j5JRl/glk7lGJR jqt1h6pM4FbsL6IUZxFVtnR0ccJhZThXC65Ky66s= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru To: sisyphus@lists.altlinux.org References: From: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0KjQtdC90YbQtdCy?= Message-ID: <47092d64-866a-2f94-c46a-1d111f91cc4d@yandex.ru> Date: Mon, 2 Oct 2017 23:59:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru Subject: Re: [sisyphus] zoneminder & systemd X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 20:59:56 -0000 Archived-At: List-Archive: List-Post: Всем привет! Продолжаю разборки с zoneminder на сизифе. Создал такой (за основу взят zoneminder.service.in из git'а апстрима) zoneminder.service # ZoneMinder systemd unit file # This file is intended to work with all Linux distributions [Unit] Description=ZoneMinder CCTV recording and security system After=network.target mysqld.service httpd2.service Requires=mysqld.service httpd2.service [Service] User=apache Type=forking ExecStart=/usr/bin/zmpkg.pl start ExecReload=/usr/bin/zmpkg.pl restart ExecStop=/usr/bin/zmpkg.pl stop PIDFile=/var/run/zm/zm.pid Environment=TZ=:/etc/localtime [Install] WantedBy=multi-user.target systemd не ругается на его формат. Вопрос: если стоит apache2, то прописываю httpd2.service, а если первый апач или nginx, что писать? Или есть у нас что то вроде webserver.service ? -- С уважением, Шенцев Алексей.