Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37044613
en ru br
ALT Linux repositórios
S:1.0-alt2

Group :: Sistema/Configurações/Boot e Init
RPM: servicectl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009