Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Update starknet_explorer.service.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
klaus993 authored Jan 12, 2024
1 parent 158ebfd commit e874bbc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ansible/playbooks/templates/starknet_explorer.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
Description=StarkCompass Explorer

[Service]
WorkingDirectory=/home/dev/stark_compass_explorer
WorkingDirectory=/home/{{ lookup('ansible.builtin.env', 'TS_USER') }}/stark_compass_explorer
Restart=on-failure
ExecStart=/home/dev/stark_compass_explorer/entrypoint.sh
ExecStart=/home/{{ lookup('ansible.builtin.env', 'TS_USER') }}/stark_compass_explorer/entrypoint.sh
ExecReload=/bin/kill -HUP
KillSignal=SIGTERM
EnvironmentFile=/home/dev/.env
StandardOutput=append:/home/dev/logs/starknet_explorer.log
StandardError=append:/home/dev/logs/starknet_explorer.log
EnvironmentFile=/home/{{ lookup('ansible.builtin.env', 'TS_USER') }}/.env
StandardOutput=append:/home/{{ lookup('ansible.builtin.env', 'TS_USER') }}/logs/starknet_explorer.log
StandardError=append:/home/{{ lookup('ansible.builtin.env', 'TS_USER') }}/logs/starknet_explorer.log

[Install]
WantedBy=multi-user.target

0 comments on commit e874bbc

Please sign in to comment.