propellor spin
This commit is contained in:
parent
6cf770c699
commit
08a3c52017
|
@ -150,9 +150,9 @@ hosts = -- (o) `
|
||||||
& JoeySites.annexWebSite "/srv/git/downloads.git"
|
& JoeySites.annexWebSite "/srv/git/downloads.git"
|
||||||
"downloads.kitenet.net"
|
"downloads.kitenet.net"
|
||||||
"840760dc-08f0-11e2-8c61-576b7e66acfd"
|
"840760dc-08f0-11e2-8c61-576b7e66acfd"
|
||||||
[("turtle", "ssh://turtle.kitenet.net/~/lib/downloads/")]
|
[("turtle", "ssh://usbackup.kitenet.net/~/lib/downloads/")]
|
||||||
`requires` Ssh.keyImported SshRsa "joey" (Context "downloads.kitenet.net")
|
`requires` Ssh.keyImported SshRsa "joey" (Context "downloads.kitenet.net")
|
||||||
`requires` Ssh.knownHost hosts "turtle.kitenet.net" "joey"
|
`requires` Ssh.knownHost hosts "usbackup.kitenet.net" "joey"
|
||||||
& JoeySites.gitAnnexDistributor
|
& JoeySites.gitAnnexDistributor
|
||||||
|
|
||||||
& alias "tmp.kitenet.net"
|
& alias "tmp.kitenet.net"
|
||||||
|
|
|
@ -114,11 +114,11 @@ mumbleServer hosts = combineProperties hn
|
||||||
[ Apt.serviceInstalledRunning "mumble-server"
|
[ Apt.serviceInstalledRunning "mumble-server"
|
||||||
, Obnam.latestVersion
|
, Obnam.latestVersion
|
||||||
, Obnam.backup "/var/lib/mumble-server" "55 5 * * *"
|
, Obnam.backup "/var/lib/mumble-server" "55 5 * * *"
|
||||||
[ "--repository=sftp://joey@turtle.kitenet.net/~/lib/backup/" ++ hn ++ ".obnam"
|
[ "--repository=sftp://joey@usbackup.kitenet.net/~/lib/backup/" ++ hn ++ ".obnam"
|
||||||
, "--client-name=mumble"
|
, "--client-name=mumble"
|
||||||
] Obnam.OnlyClient
|
] Obnam.OnlyClient
|
||||||
`requires` Ssh.keyImported SshRsa "root" (Context hn)
|
`requires` Ssh.keyImported SshRsa "root" (Context hn)
|
||||||
`requires` Ssh.knownHost hosts "turtle.kitenet.net" "root"
|
`requires` Ssh.knownHost hosts "usbackup.kitenet.net" "root"
|
||||||
, trivial $ cmdProperty "chown" ["-R", "mumble-server:mumble-server", "/var/lib/mumble-server"]
|
, trivial $ cmdProperty "chown" ["-R", "mumble-server:mumble-server", "/var/lib/mumble-server"]
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in New Issue