Files
project-work/worker-toolkit-stocks-in-the-future/repo/lib/capistrano/tasks/systemd.cap
Eric Bell 2854619bc9 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