From 984519b53d8ed46486460f632fbcf52c39ee6b57 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Feb 2013 16:23:26 -0200 Subject: timekpr-0.3.2-9: updating revision * Add timekpr.service for systemd --- pcr/timekpr/PKGBUILD | 7 ++++++- pcr/timekpr/timekpr.service | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 pcr/timekpr/timekpr.service (limited to 'pcr/timekpr') diff --git a/pcr/timekpr/PKGBUILD b/pcr/timekpr/PKGBUILD index 2196dd275..4d2af3bfd 100644 --- a/pcr/timekpr/PKGBUILD +++ b/pcr/timekpr/PKGBUILD @@ -2,7 +2,7 @@ pkgname=timekpr pkgver=0.3.2 -pkgrel=8 +pkgrel=9 pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." arch=('i686' 'x86_64') url=https://launchpad.net/timekpr @@ -10,10 +10,13 @@ license=('GPL') depends=('python2') source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz timekprd.sh + timekpr.service Initializes_lastNotified_before_it_is_used.patch) +backup=('etc/timekpr.conf') install='timekpr.install' md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' 'ab37e469034200c19b46a31d586bfe3e' + '9e88ee02b5b8cb6b5e0730e3847c4217' '23848ef2578571d7dc4871fbd15f41ed') @@ -71,4 +74,6 @@ package() { cd $srcdir install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd + + install -Dm0644 "${srcdir}/timekpr.service" "${pkgdir}/usr/lib/systemd/system/timekpr.service" } diff --git a/pcr/timekpr/timekpr.service b/pcr/timekpr/timekpr.service new file mode 100644 index 000000000..b3ea6e211 --- /dev/null +++ b/pcr/timekpr/timekpr.service @@ -0,0 +1,9 @@ +[Unit] +Description=Keep control of computer usage +After=syslog.target systemd-user-sessions.service + +[Service] +ExecStart=/usr/bin/timekpr + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3