Code cleanup

This commit is contained in:
T committed 2025-09-05 23:21:55 +02:00
1 parent c54e2649ef
commit e13881b07b
7 files changed
+233 -256

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Generate systemd service file
FILE=/etc/systemd/system/buttond.service
cat > $FILE << EOF
[Unit]
Description = buttonctl
[Service]
Type = simple
ExecStart = /usr/bin/python3 $PWD/button.py
[Install]
WantedBy=multi-user.target
Alias=buttond.service
EOF