Sisyphus repository
Last update: 16 october 2019 | SRPMs: 17499 | Visits: 15278176
en ru br
ALT Linux repos

Group :: System/Configuration/Boot and Init
RPM: servicectl

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

Source: %name-%version.tar
Packager: Michael Shigorin <mike at>

BuildArch: noarch

%define servicedir %_sysconfdir/servicectl

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.

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


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

%doc README*


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin