attempt debian postinst script
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
b283823ffe
commit
2b1eed1409
4
Makefile
4
Makefile
|
@ -6,6 +6,10 @@ log:
|
|||
@#systemctl status gowebd.service
|
||||
@journalctl -f -xeu gowebd.service
|
||||
|
||||
enable:
|
||||
su -c "systemctl enable gowebd.service"
|
||||
|
||||
|
||||
start:
|
||||
su -c "systemctl start gowebd.service"
|
||||
|
||||
|
|
4
build
4
build
|
@ -8,3 +8,7 @@ cp gowebd.service files/lib/systemd/system/
|
|||
mkdir -p files/etc/gowebd/
|
||||
cp Caddyfile.go.wit.com files/etc/gowebd/
|
||||
cp resources/repomap files/etc/gowebd/
|
||||
|
||||
# share dir
|
||||
mkdir -p files/usr/share/gowebd/
|
||||
cp resources/repomap files/usr/share/gowebd/go.wit.com
|
||||
|
|
Loading…
Reference in New Issue