Created
July 16, 2024 08:36
-
-
Save daisycamber/91850c6202b0c07b19063cfe0fd6a86d to your computer and use it in GitHub Desktop.
/etc/systemd/system/nfc.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=nfc daemon for auth | |
After=network.target | |
[Service] | |
User=root | |
Group=users | |
Environment=DISPLAY=:0 | |
WorkingDirectory=/home/daisy/Documents/nfc | |
ExecStart=/home/daisy/Documents/nfc/venv/bin/python /home/daisy/Documents/nfc/nfc.py | |
# Not sure if should use 'on-failure' or 'always'. | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment