From 7b2efed9ee34dc121d9b0e79f481169737837de3 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:21:06 +0330 Subject: [PATCH] Import deployment configuration: app/deploy/systemd/teknav-publish-due.service Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- app/deploy/systemd/teknav-publish-due.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/deploy/systemd/teknav-publish-due.service diff --git a/app/deploy/systemd/teknav-publish-due.service b/app/deploy/systemd/teknav-publish-due.service new file mode 100644 index 0000000..d188373 --- /dev/null +++ b/app/deploy/systemd/teknav-publish-due.service @@ -0,0 +1,16 @@ +[Unit] +Description=Publish scheduled Teknav articles +After=postgresql.service redis-server.service + +[Service] +Type=oneshot +User=teknav +Group=teknav +WorkingDirectory=/opt/teknav/current/backend +EnvironmentFile=/etc/teknav/backend.env +ExecStart=/usr/bin/npm run publish:due +NoNewPrivileges=true +PrivateTmp=true +ProtectSystem=full +ProtectHome=true +