[Unit] Description=pidesktop power button service After=local-fs.target [Service] Type=simple User=root ExecStart=/usr/bin/python /storage/scripts/pidesktop/powerkey.py [Install] WantedBy=multi-user.target