18 lines
287 B
Bash
Executable File
18 lines
287 B
Bash
Executable File
#!/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
|