Permalink
Browse files

update ellipsis.service to use %m[achine-id]

  • Loading branch information...
1 parent dc8eae5 commit 3d4fb2886caa7050d7ae65a173f7d5122347adcc C Anthony Risinger committed Dec 14, 2012
View
14 .../self/etc/systemd/system/ellipsis.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=ellipsis.git (%m) ...
+Requires=network.target
+After=network.target
+
+[Service]
+Type=oneshot
+IOSchedulingClass=idle
+Environment=GIT_DIR=/etc/%m/...
+ExecStart=/usr/bin/git init --bare /etc/%m/...
+ExecStart=/usr/bin/git config remote.origin.url https://github.com/xtfxme/...
+ExecStart=/usr/bin/git config remote.origin.fetch +refs/*:refs/*
+ExecStart=/usr/bin/git config remote.origin.mirror true
+ExecStart=/usr/bin/git fetch --all
View
2 .../self/etc/systemd/system/ellipsis@.timer → .../self/etc/systemd/system/ellipsis.timer
@@ -1,5 +1,5 @@
[Unit]
-Description=ellipsis (%I) ...
+Description=ellipsis.git (%m) ...
[Timer]
OnBootSec=15min
View
10 .../self/etc/systemd/system/ellipsis@.service
@@ -1,10 +0,0 @@
-[Unit]
-Description=ellipsis (%I) ...
-Requires=network.target
-After=network.target
-
-[Service]
-Type=oneshot
-IOSchedulingClass=idle
-WorkingDirectory=/etc/%I/...
-ExecStart=/usr/bin/git fetch --all

0 comments on commit 3d4fb28

Please sign in to comment.