Skip to content

Commit

Permalink
fix: update quadlet popup messages (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Apr 22, 2024
1 parent ab7238c commit f3fd9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system_files/shared/usr/libexec/distrobox-quadlet-ptyxis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ else

# Check if quadlet target is enabled
if ! eval systemctl --user --quiet is-enabled "${name}".target; then
notify-send "${name} quadlet not enabled... enabling"
notify-send "Starting ${name}, please be patient"
systemctl --user enable --now "${name}".target
fi

# Check if quadlet is running
if ! eval systemctl --user --quiet is-active "${name}".service; then
notify-send "${name} quadlet not running... this may take awhile to start"
notify-send "Restarting ${name}, please be patient"
systemctl --user restart "${name}".service
# Give the Quadlet a second to startup
sleep 1
Expand Down

0 comments on commit f3fd9ea

Please sign in to comment.