mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-31 04:50:14 +00:00
add timeout to hoarder-workers
This commit is contained in:
parent
aace44b2ce
commit
e80a91765c
@ -164,6 +164,7 @@ ExecStart=pnpm start:prod
|
|||||||
WorkingDirectory=/opt/hoarder/apps/workers
|
WorkingDirectory=/opt/hoarder/apps/workers
|
||||||
EnvironmentFile=/opt/hoarder/.env
|
EnvironmentFile=/opt/hoarder/.env
|
||||||
Restart=always
|
Restart=always
|
||||||
|
TimeoutStopSec=5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
@ -172,6 +173,9 @@ EOF
|
|||||||
systemctl -q enable --now meilisearch.service hoarder-web.service hoarder-browser.service hoarder-workers.service
|
systemctl -q enable --now meilisearch.service hoarder-web.service hoarder-browser.service hoarder-workers.service
|
||||||
msg_ok "Set up Services"
|
msg_ok "Set up Services"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /tmp/meilisearch.deb
|
rm -rf /tmp/meilisearch.deb
|
||||||
$STD apt-get autoremove -y
|
$STD apt-get autoremove -y
|
||||||
|
Loading…
Reference in New Issue
Block a user