From: Ian Kelling Date: Sat, 15 Apr 2017 13:00:18 +0000 (-0700) Subject: small improvements X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=efcd10d3b49c93cc3f6a8ae8276dcc1607cb2574 small improvements --- diff --git a/README b/README index f4cbb70..fe7511a 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Scripts to setup distros how I like +~2.5 lines of Bash to setup all my computers Initial os install is also automated using a separate repo called automated-distro-installer, also at iankelling.org/git. diff --git a/distro-end b/distro-end index eac2a64..b55fabc 100755 --- a/distro-end +++ b/distro-end @@ -71,6 +71,7 @@ case $HOSTNAME in bwm-ng chromium cpio-doc + cloc cron debconf-doc duplicity @@ -554,6 +555,9 @@ EOF Description=rss2email [Timer] +# for initial run. required. +OnActiveSec=30 +# for subsequent runs. OnUnitInactiveSec=300 [Install] diff --git a/mail-setup b/mail-setup index e02d859..7921a22 100755 --- a/mail-setup +++ b/mail-setup @@ -495,10 +495,11 @@ EOF Description=run spamd bug fix script every 10 minutes [Timer] +OnActiveSec=60 # the script looks back 9 minutes into the journal, # it takes a second to run, # so lets run every 9 minutes and 10 seconds. -OnUnitInactiveSec=550 +OnUnitActiveSec=550 [Install] WantedBy=timers.target diff --git a/maru-init b/maru-init old mode 100644 new mode 100755