18 lines
335 B
Desktop File
18 lines
335 B
Desktop File
[Unit]
|
|
Description=MTG Card Lookup Service
|
|
After=multi-user.target
|
|
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=idle
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
ExecStart=/PATH/TO/LOCAL/REPO/mtgcardlookup.py
|
|
WorkingDirectory=/PATH/TO/LOCAL/REPO/mtg-card-lookup/
|
|
User=YOUR_USERNAME
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|