diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-09-02 22:33:17 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-09-02 22:33:17 +0000 |
commit | fd653e33066eb94b0ef63c073c0a79285e037034 (patch) | |
tree | 03550b0554f58018442aedb315f026a0bc61b82f /sysutils/tuptime | |
parent | ef9cc62400aa0ce93c54dace31f45cafef3fdcdc (diff) |
Notes
Diffstat (limited to 'sysutils/tuptime')
-rw-r--r-- | sysutils/tuptime/Makefile | 2 | ||||
-rw-r--r-- | sysutils/tuptime/distinfo | 6 | ||||
-rw-r--r-- | sysutils/tuptime/files/pkg-message.in | 5 | ||||
-rw-r--r-- | sysutils/tuptime/files/tuptime.in | 4 | ||||
-rw-r--r-- | sysutils/tuptime/pkg-descr | 5 |
5 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/tuptime/Makefile b/sysutils/tuptime/Makefile index 80e582a980a0..2ff8cff63568 100644 --- a/sysutils/tuptime/Makefile +++ b/sysutils/tuptime/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= tuptime -DISTVERSION= 3.4.0 +DISTVERSION= 4.0.0 CATEGORIES= sysutils MAINTAINER= jeremy@smart-serv.net diff --git a/sysutils/tuptime/distinfo b/sysutils/tuptime/distinfo index e4c32e4768b8..a272c9c2e745 100644 --- a/sysutils/tuptime/distinfo +++ b/sysutils/tuptime/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1537724492 -SHA256 (rfrail3-tuptime-3.4.0_GH0.tar.gz) = 9f917daed6d3a6f592072a3165d99c7b41fc4e8ed6e2e4fbc4ab670fb0c1c82b -SIZE (rfrail3-tuptime-3.4.0_GH0.tar.gz) = 43003 +TIMESTAMP = 1564685971 +SHA256 (rfrail3-tuptime-4.0.0_GH0.tar.gz) = 4ec860560e3c00d5a723b282ddd3c7751abab6f48e810656e4c1a21eea173cfb +SIZE (rfrail3-tuptime-4.0.0_GH0.tar.gz) = 53732 diff --git a/sysutils/tuptime/files/pkg-message.in b/sysutils/tuptime/files/pkg-message.in index 25fbb076b8c7..1b066447f5b1 100644 --- a/sysutils/tuptime/files/pkg-message.in +++ b/sysutils/tuptime/files/pkg-message.in @@ -2,9 +2,10 @@ { type: install message: <<EOM tuptime requires execution at startup and shutdown on rc.d, please -add to /etc/rc.conf: +add it to /etc/rc.conf and start: - tuptime_enable="YES" + sysrc tuptime_enable=YES + service tuptime start tuptime requires a scheduled execution on cron, please add to /etc/crontab: diff --git a/sysutils/tuptime/files/tuptime.in b/sysutils/tuptime/files/tuptime.in index 817a7eadd976..fd1d42b38f79 100644 --- a/sysutils/tuptime/files/tuptime.in +++ b/sysutils/tuptime/files/tuptime.in @@ -18,7 +18,9 @@ export PATH=$PATH:/usr/local/bin/ tuptime_start() { + echo "Starting $name." command_args="-x" + if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then su -m ${tuptime_user} -c "$name $command_args" else @@ -28,7 +30,9 @@ tuptime_start() tuptime_stop() { + echo "Stopping $name." command_args="-xg" + if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then su -m ${tuptime_user} -c "$name $command_args" else diff --git a/sysutils/tuptime/pkg-descr b/sysutils/tuptime/pkg-descr index 88f9c771cfae..1a422c551436 100644 --- a/sysutils/tuptime/pkg-descr +++ b/sysutils/tuptime/pkg-descr @@ -1,5 +1,4 @@ -Tuptime is a tool that reports historical and statistical running time of -the system, keeping it between restarts. Like uptime(1) command but with -more interesting output. +Tuptime reports historical and statistical real time of the system, keeping +it between restarts. Like uptime(1) command but with more interesting output. WWW: https://github.com/rfrail3/tuptime |