aboutsummaryrefslogtreecommitdiff
path: root/utils/ng/systemd
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-25 23:42:28 +0800
committerKunoiSayami <[email protected]>2022-10-25 23:42:28 +0800
commitd759f60c944b70f10a90912e01c2f038c10e525d (patch)
tree274112b09ea137d9bb056ecbbc2189b3735528e1 /utils/ng/systemd
parent125ebfac956440f3a26e160a02d0c54c402a7bca (diff)
feat(script): Implement systemd functions
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/ng/systemd')
-rw-r--r--utils/ng/systemd/update-repo-notify.service4
-rw-r--r--utils/ng/systemd/[email protected]7
2 files changed, 8 insertions, 3 deletions
diff --git a/utils/ng/systemd/update-repo-notify.service b/utils/ng/systemd/update-repo-notify.service
index e609a8a..d7e3c9a 100644
--- a/utils/ng/systemd/update-repo-notify.service
+++ b/utils/ng/systemd/update-repo-notify.service
@@ -2,6 +2,4 @@
Description=Update repo notify service
[Service]
-User=update-database
-DynamicUser=yes
-ExecStart=/var/lib/update/update-db.py /run/update-repo-notify.sock \ No newline at end of file
+ExecStart=/var/lib/update/trigger.py \ No newline at end of file
diff --git a/utils/ng/systemd/[email protected] b/utils/ng/systemd/[email protected]
new file mode 100644
index 0000000..6fa98da
--- /dev/null
+++ b/utils/ng/systemd/[email protected]
@@ -0,0 +1,7 @@
+[Unit]
+Description=Update repo %i service
+
+[Service]
+User=update-database
+ExecStart=/var/lib/update/update-db.py /var/lib/update %i AAAABBBBCCCCDDDDDDDDCCCCBBBBAAAA
+#ExecStart=rsync \ No newline at end of file