Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37516309
en ru br
Репозитории ALT

Группа :: Система/Настройка/Загрузка и инициализация
Пакет: servicectl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: servicectl
Version: 1.0
Release: alt2

Summary: Control systemd services in chroot environment
License: GPL
Group: System/Configuration/Boot and Init

Url: https://github.com/smaknsk/servicectl
Source: %name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>

BuildArch: noarch

%define servicedir %_sysconfdir/servicectl

%description
Servicectl is a shell script to start/stop services on linux hosts
using systemd in chroot and SysVinit outside the chroot environment.
It uses systemd service files, e.g. nginx.service.

%prep
%setup
sed -i -e 's,^\(SYSTEMD_UNITS_PATH=\).*,\1/lib/systemd/system/,' \
      -e 's,^DIR=.*$,DIR=%servicedir,' servicectl serviced

%build

%install
install -pDm755 servicectl %buildroot%_sbindir/servicectl
install -pDm755 serviced   %buildroot%_sbindir/serviced
mkdir -p %buildroot%servicedir/enabled

%files
%servicedir/enabled
%_sbindir/*
%doc README*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin