Compare commits

..

1 Commits

Author SHA1 Message Date
4d0123c4fe Merge pull request 'main' (#1) from main into first-script
Reviewed-on: Liana/Bash_Scripts#1
2025-12-16 18:31:38 +00:00
2 changed files with 0 additions and 20 deletions

View File

@@ -1,2 +0,0 @@
#/home/liana/venv/it_school_python/bin/python
print("Hello world, from me")

View File

@@ -1,18 +0,0 @@
#!/bin/bash
SERVICE="docker"
echo "Verific serviciul: $SERVICE"
if systemctl is-active --quiet $SERVICE; then
echo "Serviciul $SERVICE ruleaza"
else
echo "Serviciul $SERVICE NU ruleaza"
echo "Pornesc serviciul..."
systemctl start $SERVICE
echo "Serviciul a fost pornit"
fi