summarylogtreecommitdiffstats
path: root/ombi.install
diff options
context:
space:
mode:
Diffstat (limited to 'ombi.install')
-rw-r--r--ombi.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/ombi.install b/ombi.install
new file mode 100644
index 000000000000..b2e99a8c4c30
--- /dev/null
+++ b/ombi.install
@@ -0,0 +1,14 @@
+post_install() {
+ # Create plex user
+ systemd-sysusers ombi.conf
+ chown -R ombi:ombi /opt/ombi
+}
+
+post_upgrade() {
+ systemctl daemon-reload
+}
+
+post_remove() {
+ systemctl stop ombi.service
+ true
+}