Compare commits
2 commits
4a0e38c29f
...
ada538bb4c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ada538bb4c | ||
![]() |
f8c0d808aa |
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="dufs"
|
pkgname="dufs"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgver="0.36.0"
|
pkgver="0.37.1"
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
|
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
|
||||||
url="https://github.com/sigoden/dufs"
|
url="https://github.com/sigoden/dufs"
|
||||||
|
@ -18,7 +18,7 @@ source=(
|
||||||
)
|
)
|
||||||
|
|
||||||
function package {
|
function package {
|
||||||
install -Dm755 "${srcdir}/dufs" "${pkgdir}/usr/local/bin/dufs"
|
install -Dm755 "${srcdir}/dufs" "${pkgdir}/usr/bin/dufs"
|
||||||
install -Dm644 "${srcdir}/dufs.service" "${pkgdir}/usr/lib/systemd/system/dufs.service"
|
install -Dm644 "${srcdir}/dufs.service" "${pkgdir}/usr/lib/systemd/system/dufs.service"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=dufs
|
User=dufs
|
||||||
Group=dufs
|
Group=dufs
|
||||||
ExecStart=/usr/local/bin/dufs --auth dufs:dufs@/:rw /srv/dufs
|
ExecStart=/usr/bin/dufs --auth dufs:dufs@/:rw /srv/dufs
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue