aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-07-03 02:04:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-07-03 02:06:22 +0300
commit9c863eb06c74433f73a1fe57d035ee61251f6696 (patch)
treee5af14c400ce24d135144d7447e88a0cbb9ded4a /%HOME%
parentadd a couple of repos (diff)
downloadcgitize-9c863eb06c74433f73a1fe57d035ee61251f6696.tar.gz
cgitize-9c863eb06c74433f73a1fe57d035ee61251f6696.zip
rename systemd jobs
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.config/systemd/user/pull.service11
-rw-r--r--%HOME%/.config/systemd/user/update-cgit-repos.service11
-rw-r--r--%HOME%/.config/systemd/user/update-cgit-repos.timer (renamed from %HOME%/.config/systemd/user/pull.timer)0
3 files changed, 11 insertions, 11 deletions
diff --git a/%HOME%/.config/systemd/user/pull.service b/%HOME%/.config/systemd/user/pull.service
deleted file mode 100644
index 6970520..0000000
--- a/%HOME%/.config/systemd/user/pull.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Run pull.sh
-Wants=ssh-agent.service
-
-[Service]
-Type=simple
-WorkingDirectory=/srv/git
-ExecStartPre=/usr/bin/truncate --size=0K -- /srv/git/pull.log
-ExecStart=/srv/git/pull.sh
-StandardOutput=file:/srv/git/pull.log
-StandardError=inherit
diff --git a/%HOME%/.config/systemd/user/update-cgit-repos.service b/%HOME%/.config/systemd/user/update-cgit-repos.service
new file mode 100644
index 0000000..9494a07
--- /dev/null
+++ b/%HOME%/.config/systemd/user/update-cgit-repos.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Run pull.sh
+Wants=ssh-agent.service
+
+[Service]
+Type=simple
+WorkingDirectory=/srv/cgit-repos
+ExecStartPre=/usr/bin/truncate --size=0K -- /srv/cgit-repos/pull.log
+ExecStart=/srv/cgit-repos/pull.sh
+StandardOutput=file:/srv/cgit-repos/pull.log
+StandardError=inherit
diff --git a/%HOME%/.config/systemd/user/pull.timer b/%HOME%/.config/systemd/user/update-cgit-repos.timer
index b39b357..b39b357 100644
--- a/%HOME%/.config/systemd/user/pull.timer
+++ b/%HOME%/.config/systemd/user/update-cgit-repos.timer