summaryrefslogtreecommitdiff
path: root/pcr/timekpr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-01 16:23:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-01 16:23:26 -0200
commit984519b53d8ed46486460f632fbcf52c39ee6b57 (patch)
tree76ee53329b569f1cee1893add3c0aa6bfe8c72ca /pcr/timekpr
parentac49e42e536d17cf20821bca9fef5c3f122b53c5 (diff)
downloadabslibre-984519b53d8ed46486460f632fbcf52c39ee6b57.tar.gz
abslibre-984519b53d8ed46486460f632fbcf52c39ee6b57.tar.bz2
abslibre-984519b53d8ed46486460f632fbcf52c39ee6b57.zip
timekpr-0.3.2-9: updating revision
* Add timekpr.service for systemd
Diffstat (limited to 'pcr/timekpr')
-rw-r--r--pcr/timekpr/PKGBUILD7
-rw-r--r--pcr/timekpr/timekpr.service9
2 files changed, 15 insertions, 1 deletions
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