add uptime-kuma

This commit is contained in:
Thomas Legay 2023-09-15 23:10:23 +02:00
parent c42003ad1b
commit 8c08708c5b
11 changed files with 83 additions and 11 deletions

View file

View file

@ -0,0 +1,8 @@
Package: uptime-kuma
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: nodejs
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: uptime-kuma

View file

@ -0,0 +1,7 @@
#!/bin/bash
APPUSER=uptime-kuma
id $APPUSER &> /dev/null || useradd $APPUSER -r -s /bin/false -d /var/lib/$APPUSER/
chown -R $APPUSER:$APPUSER /var/lib/$APPUSER/