Skip to content

Commit

Permalink
Add enable and disable aliases for ros services
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Feb 15, 2023
1 parent 34cac97 commit 9072fa0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion stage3/03-leo-ros/files/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ alias ros-nodes-start="systemctl --user start ros-nodes"
alias ros-nodes-restart="systemctl --user restart ros-nodes"
alias ros-nodes-stop="systemctl --user stop ros-nodes"
alias ros-nodes-status="systemctl --user status ros-nodes"
alias ros-nodes-enable="systemctl --user enable --now ros-nodes"
alias ros-nodes-disable="systemctl --user disable --now ros-nodes"
alias uros-agent-logs="journalctl -b --no-pager --no-hostname -all -n 1000 --user-unit uros-agent"
alias uros-agent-start="systemctl --user start uros-agent"
alias uros-agent-restart="systemctl --user restart uros-agent"
alias uros-agent-stop="systemctl --user stop uros-agent"
alias uros-agent-status="systemctl --user status uros-agent"
alias uros-agent-enable="systemctl --user enable --now uros-agent"
alias uros-agent-disable="systemctl --user disable --now uros-agent"
alias ros-logs="journalctl -b --no-pager --no-hostname -all -n 1000 --user-unit ros-nodes --user-unit uros-agent"
alias ros-start="systemctl --user start ros.target"
alias ros-restart="systemctl --user restart ros.target"
alias ros-stop="systemctl --user stop ros.target"
alias ros-status="systemctl --user status ros-nodes uros-agent"
alias ros-status="systemctl --user status ros.target ros-nodes uros-agent"
alias ros-enable="systemctl --user enable --now ros.target"
alias ros-disable="systemctl --user disable --now ros.target"

0 comments on commit 9072fa0

Please sign in to comment.