fix systemd units an so on
This commit is contained in:
parent
f094e57dba
commit
98d4802871
3 changed files with 5 additions and 5 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: 1ridic <i@8f.al>
|
# Maintainer: 1ridic <i@8f.al>
|
||||||
pkgname=uptimes
|
pkgname=uptimes
|
||||||
pkgver=0.1.1
|
pkgver=0.1.2
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc="status of total uptime"
|
pkgdesc="status of total uptime"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -11,8 +11,8 @@ source=(
|
||||||
local://uptimes
|
local://uptimes
|
||||||
local://uptimesd.service
|
local://uptimesd.service
|
||||||
)
|
)
|
||||||
md5sums=('749fafe23dbedae4d9375b5ef4c09d64'
|
md5sums=('04c97379f5910c5c7fdcea9b6b2e0024'
|
||||||
'f598fdb7ab331933d3495c0bb53358c2')
|
'f006fee00a5269c916d7bacddfe7035c')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 uptimes "$pkgdir/usr/bin/uptimes"
|
install -Dm755 uptimes "$pkgdir/usr/bin/uptimes"
|
||||||
|
|
2
uptimes
2
uptimes
|
@ -11,7 +11,7 @@ startTime = 0
|
||||||
uptime = 0
|
uptime = 0
|
||||||
s = 0
|
s = 0
|
||||||
|
|
||||||
socket_file = '/var/tmp/uptimesd.sock'
|
socket_file = '/run/uptimesd.sock'
|
||||||
uptimes_db = '/etc/uptimes/uptimes.db'
|
uptimes_db = '/etc/uptimes/uptimes.db'
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
@ -3,7 +3,7 @@ Description=uptimes: status of total uptime
|
||||||
After=network.target network-online.target
|
After=network.target network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=forking
|
||||||
User=root
|
User=root
|
||||||
ExecStart=/usr/bin/uptimes --daemon
|
ExecStart=/usr/bin/uptimes --daemon
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue