From f91e9c6a2bb7403ab6d51059804e2501e2905303 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 11 Apr 2016 15:34:28 +0300 Subject: [PATCH] ydns-simple --> ydns6 --- etc/systemd/system/sailfish/README.md | 1 - etc/systemd/system/sailfish/ydns-simple.service | 9 --------- etc/systemd/system/ydns6/README.md | 1 + etc/systemd/system/ydns6/ydns6.service | 9 +++++++++ .../{sailfish/ydns-simple.timer => ydns6/ydns6.timer} | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 etc/systemd/system/sailfish/ydns-simple.service create mode 100644 etc/systemd/system/ydns6/README.md create mode 100644 etc/systemd/system/ydns6/ydns6.service rename etc/systemd/system/{sailfish/ydns-simple.timer => ydns6/ydns6.timer} (66%) diff --git a/etc/systemd/system/sailfish/README.md b/etc/systemd/system/sailfish/README.md index 1b62db22..d8ab279c 100644 --- a/etc/systemd/system/sailfish/README.md +++ b/etc/systemd/system/sailfish/README.md @@ -2,6 +2,5 @@ Services in this directory are meant for my Jolla Phone which runs Sailfish OS. It doesn't have cron, so I tried the nearest equivalent that is there out-of-box, systemd timers. -* ydns-simple is my dyndns update script, you can find it from https://github.com/Mikaela/scripts/blob/gh-pages/bash/ydns-simple * aliendalvik-stopper again stops android support hourly so it won't waste battery. diff --git a/etc/systemd/system/sailfish/ydns-simple.service b/etc/systemd/system/sailfish/ydns-simple.service deleted file mode 100644 index f00218e4..00000000 --- a/etc/systemd/system/sailfish/ydns-simple.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=ydns-simple service - -[Service] -Type=simple -ExecStart=/usr/local/bin/ydns-simple - -[Install] -WantedBy=ydns-simple.timer diff --git a/etc/systemd/system/ydns6/README.md b/etc/systemd/system/ydns6/README.md new file mode 100644 index 00000000..36c5cd4c --- /dev/null +++ b/etc/systemd/system/ydns6/README.md @@ -0,0 +1 @@ +https://github.com/Mikaela/scripts/blob/gh-pages/bash/ydns6 diff --git a/etc/systemd/system/ydns6/ydns6.service b/etc/systemd/system/ydns6/ydns6.service new file mode 100644 index 00000000..d345c706 --- /dev/null +++ b/etc/systemd/system/ydns6/ydns6.service @@ -0,0 +1,9 @@ +[Unit] +Description=ydns6 service + +[Service] +Type=simple +ExecStart=/home/nemo/.local/bin/ydns6 + +[Install] +WantedBy=ydns6.timer diff --git a/etc/systemd/system/sailfish/ydns-simple.timer b/etc/systemd/system/ydns6/ydns6.timer similarity index 66% rename from etc/systemd/system/sailfish/ydns-simple.timer rename to etc/systemd/system/ydns6/ydns6.timer index 703639e6..1cc8bfca 100644 --- a/etc/systemd/system/sailfish/ydns-simple.timer +++ b/etc/systemd/system/ydns6/ydns6.timer @@ -1,5 +1,5 @@ [Unit] -Description=Run ydns-simple every 5 minutes +Description=Run ydns6 every 5 minutes [Timer] OnBootSec=1min