Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
17 lines
346 B
Desktop File
17 lines
346 B
Desktop File
[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
|
|
|