install /etc/traccar/traccar.xml with mode 640 by default, if using a

separate database it can contain the password. ok Renauld Allard (maintainer).
This commit is contained in:
sthen 2020-01-06 20:57:31 +00:00
parent 3293ce267e
commit cff0f68e73
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2019/07/12 20:46:56 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2020/01/06 20:57:31 sthen Exp $
COMMENT = modern GPS tracking platform
V = 4.5
REVISION = 0
REVISION = 1
PKGNAME = traccar-${V}
DISTNAME = traccar-other-${V}
EXTRACT_SUFX = .zip

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2019/05/22 09:44:48 sthen Exp $
@comment $OpenBSD: PLIST,v 1.5 2020/01/06 20:57:31 sthen Exp $
@newgroup _traccar:824
@newuser _traccar:824:_traccar:daemon:Traccar user:/var/empty:/sbin/nologin
@rcscript ${RCDIR}/traccar
@ -18,7 +18,13 @@ share/traccar/conf/
share/traccar/conf/default.xml
share/traccar/conf/traccar.xml
@sample ${SYSCONFDIR}/traccar/
@mode 640
@owner root
@group _traccar
@sample ${SYSCONFDIR}/traccar/traccar.xml
@mode
@owner
@group
share/traccar/lib/
share/traccar/lib/HikariCP-3.3.1.jar
share/traccar/lib/activation-1.1.1.jar