fix systemd units an so on

This commit is contained in:
iridiumR 2023-08-07 21:42:29 +08:00
parent f094e57dba
commit 98d4802871
No known key found for this signature in database
GPG Key ID: 49735733EB1A32C8
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: 1ridic <i@8f.al>
pkgname=uptimes
pkgver=0.1.1
pkgver=0.1.2
pkgrel=2
pkgdesc="status of total uptime"
arch=('any')
@ -11,8 +11,8 @@ source=(
local://uptimes
local://uptimesd.service
)
md5sums=('749fafe23dbedae4d9375b5ef4c09d64'
'f598fdb7ab331933d3495c0bb53358c2')
md5sums=('04c97379f5910c5c7fdcea9b6b2e0024'
'f006fee00a5269c916d7bacddfe7035c')
package() {
install -Dm755 uptimes "$pkgdir/usr/bin/uptimes"

View File

@ -11,7 +11,7 @@ startTime = 0
uptime = 0
s = 0
socket_file = '/var/tmp/uptimesd.sock'
socket_file = '/run/uptimesd.sock'
uptimes_db = '/etc/uptimes/uptimes.db'
def main():

View File

@ -3,7 +3,7 @@ Description=uptimes: status of total uptime
After=network.target network-online.target
[Service]
Type=simple
Type=forking
User=root
ExecStart=/usr/bin/uptimes --daemon
[Install]