propellor spin
This commit is contained in:
parent
85b01d02ed
commit
16172a6485
|
@ -315,9 +315,11 @@ iabak = host "ia-bak.joeyh.name"
|
||||||
& Sudo.enabledFor "joey"
|
& Sudo.enabledFor "joey"
|
||||||
& GitHome.installedFor "joey"
|
& GitHome.installedFor "joey"
|
||||||
& Git.cloned "root" repo "/usr/local/IA.BAK" (Just "server")
|
& Git.cloned "root" repo "/usr/local/IA.BAK" (Just "server")
|
||||||
& Git.cloned "root" repo "/usr/local/IA.BAK/pubkeys" (Just "pubkey")
|
& Git.cloned "www-data" repo "/usr/local/IA.BAK/pubkeys" (Just "pubkey")
|
||||||
& Apt.serviceInstalledRunning "apache2"
|
& Apt.serviceInstalledRunning "apache2"
|
||||||
& cmdProperty "ln" ["-s", "/usr/local/IA.BAK/pushme.cgi", "/usr/lib/cgi-bin/pushme.cgi"]
|
& cmdProperty "ln" ["-s", "/usr/local/IA.BAK/pushme.cgi", "/usr/lib/cgi-bin/pushme.cgi"]
|
||||||
|
& Apt.installed ["sudo"]
|
||||||
|
& File.containsLine "/etc/sudoers" "www-data ALL=NOPASSWD:/usr/local/IA.BAK/pushed.sh"
|
||||||
where
|
where
|
||||||
repo = "https://github.com/ArchiveTeam/IA.BAK/"
|
repo = "https://github.com/ArchiveTeam/IA.BAK/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue