mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 19:23:10 +02:00
- Rename PYTHON/ to python_pkg/ (fix N999 uppercase folder) - Rename camelCase folders to snake_case: - randomJPG -> random_jpg - tagDivider -> tag_divider - downloadCats -> download_cats - keyboardCoop -> keyboard_coop - extractLinks -> extract_links - scapeWebsite -> scrape_website - Rename camelCase files: - generateJpeg.py -> generate_jpeg.py - tagDivider.py -> tag_divider.py - Rename poker-modifier-app to poker_modifier_app (fix INP001) - Add __init__.py to poker_modifier_app - Replace random module with secrets.SystemRandom (fix S311) - Fix S110 try-except-pass with contextlib.suppress - Update all imports and config references
20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/bin/bash
|
|
# Remove workout locker systemd service
|
|
|
|
SERVICE_NAME="workout-locker.service"
|
|
USER_SERVICE_DIR="$HOME/.config/systemd/user"
|
|
|
|
# Stop the service if running
|
|
systemctl --user stop "$SERVICE_NAME" 2>/dev/null
|
|
|
|
# Disable the service
|
|
systemctl --user disable "$SERVICE_NAME" 2>/dev/null
|
|
|
|
# Remove service file
|
|
rm -f "$USER_SERVICE_DIR/$SERVICE_NAME"
|
|
|
|
# Reload systemd daemon
|
|
systemctl --user daemon-reload
|
|
|
|
echo "✓ Workout locker service removed"
|