summarylogtreecommitdiffstats
path: root/sickrage-git.install
diff options
context:
space:
mode:
authorwillemw122019-07-10 20:54:52 +0200
committerwillemw122019-07-10 20:54:52 +0200
commit455d32ffe1473f3ceda5bd88ef042ba2edda8491 (patch)
tree0b56b5698a19811858f6bbdb1e349cd89ccda733 /sickrage-git.install
parentb794653d56d2de956c7948314b882cd9c018b015 (diff)
downloadaur-455d32ffe1473f3ceda5bd88ef042ba2edda8491.tar.gz
Update to Python3. Move pip installation to build().
Update build steps. Update makedepends (see Dockerfile). Install .git folder. Chown only installed files. Run service in virtualenv. Change service type from forking to simple.
Diffstat (limited to 'sickrage-git.install')
-rw-r--r--sickrage-git.install10
1 files changed, 5 insertions, 5 deletions
diff --git a/sickrage-git.install b/sickrage-git.install
index 107c9fcb3296..68e394ab246b 100644
--- a/sickrage-git.install
+++ b/sickrage-git.install
@@ -1,13 +1,13 @@
post_install() {
systemd-sysusers sickrage.conf
systemd-tmpfiles --create sickrage.conf
- chown -R sickrage:sickrage /opt/sickrage
- echo "==> Start and enable sickrage.service. Then visit http://localhost:8081/"
-}
+ #chown -R sickrage:sickrage /opt/sickrage
+ chown sickrage:sickrage /opt/sickrage/{,data}
+ chown -R sickrage:sickrage /opt/sickrage/app
-post_upgrade() {
- post_install $1
+ echo
+ echo "==> Start and enable sickrage.service. Then visit http://localhost:8081/"
}
pre_remove() {