initial commit
This commit is contained in:
commit
9331bbe246
15 changed files with 314 additions and 0 deletions
23
ddns.service
Normal file
23
ddns.service
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=bitdori DDNS updater
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
WorkingDirectory=/opt/bitdori/ddns
|
||||
|
||||
ExecStart=/opt/bitdori/ddns/.venv/bin/python \
|
||||
/opt/bitdori/ddns/src/main.py
|
||||
|
||||
User=odroid
|
||||
Group=odroid
|
||||
|
||||
Nice=10
|
||||
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue