tlsdate-0.0.13-tlsdated-service.patch 674 B

1234567891011121314151617181920212223
  1. From: Dominik Kriegner <dominik.kriegner@gmail.com>
  2. Date: Tue, 26 Jan 2016 12:12:26 +0000
  3. Subject: [PATCH] Fix systemd unit file
  4. Project-Bug-URL: https://github.com/ioerror/tlsdate/pull/162
  5. Gentoo-Bug-URL: https://bugs.gentoo.org/533380
  6. --- a/systemd/tlsdated.service
  7. +++ b/systemd/tlsdated.service
  8. @@ -5,6 +5,9 @@ After=network.target
  9. [Service]
  10. Type=simple
  11. EnvironmentFile=/etc/default/tlsdated
  12. -ExecStart=/usr/sbin/tlsdated ${DAEMON_OPTS}
  13. -ExecReload=/bin/kill -HUP ${MAINPID}
  14. -ExecStop=/bin/kill -INT ${MAINPID}
  15. +ExecStart=/usr/sbin/tlsdated $DAEMON_OPTS
  16. +ExecReload=/bin/kill -HUP $MAINPID
  17. +ExecStop=/bin/kill -INT $MAINPID
  18. +
  19. +[Install]
  20. +WantedBy=multi-user.target