2017-04-24 09:20:46 -06:00
|
|
|
#!/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
|
2018-08-06 12:37:50 -06:00
|
|
|
fi
|
2017-04-24 09:20:46 -06:00
|
|
|
|
|
|
|
sudo chown -R root:root /opt/sour.is
|
|
|
|
sudo chown -R root:root /etc/opt/sour.is
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|