mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 16:23:04 +02:00
* Initial plan * Add bachelor thesis work tracker system - core implementation Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Add status script and improve installer for thesis tracker Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Security improvements: fix sourcing, temp files, validation, and error handling Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Update README to clarify bachelor vs master's thesis naming Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
30 lines
642 B
Desktop File
30 lines
642 B
Desktop File
[Unit]
|
|
Description=Bachelor Thesis Work Tracker
|
|
Documentation=man:systemd.service(5)
|
|
After=graphical.target
|
|
Wants=graphical.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/thesis_work_tracker.sh
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
# Run as the user who is logged in (for X11/window detection)
|
|
User=%i
|
|
Environment="DISPLAY=:0"
|
|
Environment="XAUTHORITY=/home/%i/.Xauthority"
|
|
|
|
# Logging
|
|
StandardOutput=append:/var/log/thesis-work-tracker/tracker.log
|
|
StandardError=append:/var/log/thesis-work-tracker/tracker.log
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=false
|
|
PrivateTmp=true
|
|
ProtectSystem=false
|
|
ProtectHome=false
|
|
|
|
[Install]
|
|
WantedBy=default.target
|