aboutsummaryrefslogtreecommitdiff
path: root/etc/private/install/brep-startup.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/private/install/brep-startup.service')
-rw-r--r--etc/private/install/brep-startup.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/private/install/brep-startup.service b/etc/private/install/brep-startup.service
new file mode 100644
index 0000000..a3dc546
--- /dev/null
+++ b/etc/private/install/brep-startup.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=brep instance initialization service
+
+Wants=network-online.target
+After=network-online.target
+
+Requires=postgresql.service
+After=postgresql.service
+
+[Service]
+Type=oneshot
+User=brep
+Group=brep
+ExecStart=/home/brep/bin/brep-startup
+
+[Install]
+WantedBy=default.target