Ubuntu 16.04
/etc/systemd/system/certbot.service
[Unit]
Description=Let's Encrypt renewal
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
| #include <stdio.h> | |
| #include <assert.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| /** | |
| * related blogpost at: http://sidekick.windforwings.com/2012/05/inter-thread-communication-socketpairs.html |
| [Dialer Defaults] | |
| Modem = /dev/ttyUSB2 | |
| Init1 = ATZ | |
| Init3 = ATE0V1 | |
| Init5 = ATS0=0 | |
| Init6 = AT+CGDCONT=1,"IP","3gnet" | |
| Init7 = AT+CFUN=1 | |
| Modem Type = USB Modem | |
| Baud = 460800 |
Ubuntu 16.04
/etc/systemd/system/certbot.service
[Unit]
Description=Let's Encrypt renewal
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew --quiet --agree-tos