add debian building. add asset compile and embedding. other fixes.
This commit is contained in:
17
debian/ROOT/DEBIAN/postinst
vendored
Executable file
17
debian/ROOT/DEBIAN/postinst
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
systemctl daemon-reload
|
||||
|
||||
if systemctl is-enabled sour.is-paste.service; then
|
||||
systemctl start sour.is-paste.service
|
||||
fi
|
||||
|
||||
sudo chown -R root:root /opt/sour.is
|
||||
sudo chown -R root:root /etc/opt/sour.is
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user