memmon/disk_monitor.service
2024-12-21 15:03:39 +02:00

13 lines
296 B
Desktop File

[Unit]
Description=Disk Monitor
After=network.target
[Service]
User=root
WorkingDirectory=/home/pi2/workspace/memmon
ExecStart=/usr/bin/python3 disk_monitor.py /
Restart=always
Environment="PYTHONUNBUFFERED=1" "DISPLAY=:0" "XAUTHORITY=/home/pi2/.Xauthority"
[Install]
WantedBy=multi-user.target