Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
compgeniuses committed Jan 28, 2024
1 parent 067760f commit f9aa69b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/n8n-pgsql.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Podman n8n-pgsql.service
BindsTo=n8n.service
After=n8n-redis.service
Before=n8n-redis.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
3 changes: 1 addition & 2 deletions imageroot/systemd/user/n8n-redis.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Podman n8n-redis.service
BindsTo=n8n.service
Before=n8n-pgsql.service

After=n8n-pgsql.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n REDIS_IMAGE=docker.io/library/redis:7
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/n8n.service
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ExecStartPre=/bin/rm -f %t/n8n-pod.pid %t/n8n.pod-id
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/n8n-pod.pid \
--pod-id-file %t/n8n.pod-id \
--name n8n \
--publish 127.0.0.1:${TCP_PORT}:8011 \
--publish 127.0.0.1:${TCP_PORT}:5678 \
--replace
ExecStart=/usr/bin/podman pod start --pod-id-file %t/n8n.pod-id
ExecStop=/usr/bin/podman pod stop --ignore --pod-id-file %t/n8n.pod-id -t 10
Expand Down

0 comments on commit f9aa69b

Please sign in to comment.