summaryrefslogtreecommitdiff
path: root/systemd/db-import@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/db-import@.service')
-rw-r--r--systemd/db-import@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/db-import@.service b/systemd/db-import@.service
new file mode 100644
index 0000000..1509449
--- /dev/null
+++ b/systemd/db-import@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=db-import %I
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=oneshot
+User=repo
+Environment=DBSCRIPTS_CONFIG=/etc/dbscripts/config.local.%I
+ExecStart=/usr/bin/db-import-pkg
+
+PrivateTmp=true