18 lines
291 B
Plaintext
18 lines
291 B
Plaintext
|
#!/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
|