Add gotify
optimize apt without recommends packages add package dpkg fakeroot when needed
This commit is contained in:
parent
a340b7db22
commit
b69d1ee47f
29 changed files with 77 additions and 94 deletions
|
@ -1,7 +1,7 @@
|
|||
Package: gotify
|
||||
Package: gotify-server
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@syngate.fr>
|
||||
Description: gotify
|
||||
Description: gotify-server
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
id gotify &> /dev/null || useradd gotify -r -s /bin/false
|
||||
id gotify &> /dev/null || useradd gotify -r -s /bin/false -md /var/lib/gotify
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ After=network.target
|
|||
[Service]
|
||||
User=gotify
|
||||
Group=gotify
|
||||
ExecStart=/usr/bin/gotify-linux-amd64
|
||||
WorkingDirectory=/usr/lib/gotify
|
||||
ExecStart=/usr/bin/gotify-server
|
||||
WorkingDirectory=/var/lib/gotify-server
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue