Files
Eric Bell 392781f7aa chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

16 lines
326 B
Plaintext

namespace :systemd do
desc "Check stocks service status"
task :status do
on roles(:app) do
execute :sudo, "systemctl status stocks"
end
end
desc "View recent stocks service journal"
task :journal do
on roles(:app) do
execute :sudo, "journalctl -u stocks -n 100 --no-pager"
end
end
end