add uptime-kuma
This commit is contained in:
parent
c42003ad1b
commit
8c08708c5b
11 changed files with 83 additions and 11 deletions
0
ressources/uptime-kuma/DEBIAN/changelog
Normal file
0
ressources/uptime-kuma/DEBIAN/changelog
Normal file
8
ressources/uptime-kuma/DEBIAN/control
Normal file
8
ressources/uptime-kuma/DEBIAN/control
Normal 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
|
7
ressources/uptime-kuma/DEBIAN/postinst
Executable file
7
ressources/uptime-kuma/DEBIAN/postinst
Executable 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/
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue