Skip to content

Instantly share code, notes, and snippets.

@m1cr0man
Last active April 5, 2020 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m1cr0man/3db7cf3bff05fa0e2e82bc86b78b8e8f to your computer and use it in GitHub Desktop.
Save m1cr0man/3db7cf3bff05fa0e2e82bc86b78b8e8f to your computer and use it in GitHub Desktop.
Acme timer broken?
# /nix/store/yrr0bgdbrr2cf0dqclrxr2d5ynj6vrps-unit-acme-redbrick.dcu.ie.service/acme-redbrick.dcu.ie.service
[Unit]
After=network.target network-online.target
Description=Renew ACME Certificate for redbrick.dcu.ie
Wants=network-online.target
[Service]
Environment="LOCALE_ARCHIVE=/nix/store/da0h55nhsipysryz9zcb9i7chbqffa45-glibc-locales-2.30/lib/locale/locale-archive"
Environment="PATH=/nix/store/sn2fzbavnsb9sfff39ylkd6njfmh9gif-coreutils-8.31/bin:/nix/store/0c9izfknmjqgxwlnszi35ps5ds35yfi1-findutils-4.7.0/bin:/nix/store/g9317haqh75hj5x05yq6na2y21xcl2a5-gnugrep-3.4/bin:/nix/store/r540lhrdmgzccx3q6s55w08bikj7z5lr-gnused-4.8/bin:/nix/st>
Environment="TZDIR=/nix/store/rqzv14x4jnw5025n6r2chr6ar8wadr8g-tzdata-2019c/share/zoneinfo"
EnvironmentFile=/var/secrets/certs.secret
ExecStart=/nix/store/59dkm521an89x1fhwhsyp6nfcgvrfdw0-acme-start
ExecStartPost=+/nix/store/2r6vi106zj8pmp01da41klz0zmmpd3l6-acme-post-start
Group=root
PrivateTmp=true
RemainAfterExit=true
StateDirectory=acme/.lego acme/redbrick.dcu.ie
StateDirectoryMode=700
Type=oneshot
User=root
WorkingDirectory=/var/lib/acme/.lego
# /nix/store/vx6j7k668niysvg43c16wvkkadhnn7g8-unit-acme-redbrick.dcu.ie.timer/acme-redbrick.dcu.ie.timer
[Unit]
Description=Renew ACME Certificate for redbrick.dcu.ie
[Timer]
AccuracySec=5m
OnCalendar=weekly
Persistent=yes
RandomizedDelaySec=1h
Unit=acme-redbrick.dcu.ie.service
[root@hardcase:~]# systemctl status acme-redbrick.dcu.ie.timer
● acme-redbrick.dcu.ie.timer - Renew ACME Certificate for redbrick.dcu.ie
Loaded: loaded (/nix/store/vx6j7k668niysvg43c16wvkkadhnn7g8-unit-acme-redbrick.dcu.ie.timer/acme-redbrick.dcu.ie.timer; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-02-23 18:20:35 GMT; 1 months 11 days ago
Trigger: n/a
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[root@hardcase:~]# systemctl status acme-redbrick.dcu.ie.service
● acme-redbrick.dcu.ie.service - Renew ACME Certificate for redbrick.dcu.ie
Loaded: loaded (/nix/store/yrr0bgdbrr2cf0dqclrxr2d5ynj6vrps-unit-acme-redbrick.dcu.ie.service/acme-redbrick.dcu.ie.service; linked; vendor preset: enabled)
Active: active (exited) since Tue 2020-03-03 18:49:12 GMT; 1 months 2 days ago
Main PID: 8622 (code=exited, status=0/SUCCESS)
IP: 4.6K in, 1.0K out
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.slice/acme-redbrick.dcu.ie.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment