mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Try to fix Snap.
Thanks to roadmr and xet7 !
This commit is contained in:
parent
f7d6ac9401
commit
33836af1f9
2 changed files with 21 additions and 6570 deletions
6578
package-lock.json
generated
6578
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
install
|
12
snap/hooks/post-refresh
Executable file
12
snap/hooks/post-refresh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec >> $SNAP_DATA/hook.log 2>&1
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook"
|
||||
|
||||
# coppy caddy file in place
|
||||
[ ! -e $SNAP_COMMON/Caddyfile ] && cp $SNAP/Caddyfile $SNAP_COMMON/Caddyfile
|
||||
|
||||
# create run dir, we're going to use it for unix socket
|
||||
mkdir -p $SNAP_DATA/share
|
||||
mkdir -p $SNAP_DATA/shared
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue