Files
nixpkgs/pkgs/tools/networking
Kier Davis 397daef205 openvpn: make systemd dependency optional
systemd is a fairly large dependency, and it doesn't appear to
be necessary in all circumstances - e.g. when openvpn is
not run as a systemd service (as is usually the case when it is
run in a Docker container).

This change makes the dependency on systemd optional, controlled
by a new argument `useSystemd`. The default behaviour remains
the same as it was before this change: enabled only on Linux systems.

For me, this change reduces the size of my container image (dominated
by the closure of openvpn) from about 110 MB to 45 MB.

Version 2: rename argument to `useSystemd` (was `systemdSupport`), and
rebase onto master
2018-01-06 15:05:44 +00:00
..
2017-11-14 16:37:17 +01:00
2017-08-01 12:34:12 +02:00
2017-10-22 16:25:33 +02:00
2017-01-31 11:00:14 +01:00
2016-07-21 07:22:17 +03:00
2017-12-13 11:03:55 +01:00
2017-10-10 17:23:10 +02:00
2017-10-27 09:03:44 +02:00
2017-12-19 17:25:51 +01:00
2017-10-02 18:54:46 +02:00
2017-10-30 19:05:18 +01:00
2017-12-18 07:46:51 -02:00
2017-03-01 20:09:46 -06:00
2017-05-02 14:13:31 -03:00
2017-12-19 15:18:24 +01:00
2017-08-17 14:56:10 -07:00
2016-09-28 10:50:29 +02:00
2018-01-01 23:49:36 +01:00
2017-09-09 15:23:17 +02:00
2017-11-14 16:48:41 +00:00
2017-10-26 01:56:19 +02:00
2016-08-24 20:18:52 +00:00
2017-09-28 16:55:26 -04:00
2017-11-04 13:27:39 +01:00
2017-09-22 18:42:38 +02:00
2016-10-01 17:04:25 +02:00
2017-04-23 18:08:41 -05:00
2016-08-03 20:05:40 +02:00
2017-11-11 15:31:40 +01:00
2017-09-07 09:28:03 +02:00
2017-10-03 11:59:43 -04:00
2017-11-15 21:34:47 +00:00
2017-03-01 19:18:29 -06:00
2017-09-09 17:53:20 +08:00
2017-03-01 19:16:03 -06:00
2017-12-19 19:09:52 +01:00
2017-10-16 00:06:06 +02:00
2017-03-03 17:35:31 +01:00
2017-07-20 04:20:07 +02:00
2017-12-11 20:37:50 +01:00
2017-09-12 10:13:49 +02:00
2017-09-18 18:25:54 +08:00
2017-05-29 12:19:29 +02:00
2017-11-16 12:39:07 +00:00
2017-04-20 10:33:42 +02:00
2017-09-11 19:21:49 +02:00
2017-11-18 17:40:26 +02:00
2017-10-17 20:33:33 -04:00
2017-04-20 07:33:38 +02:00
2017-12-29 02:18:35 +01:00
2017-08-15 14:50:31 +02:00
2017-11-11 23:37:41 +01:00
2017-08-27 02:33:32 +02:00
2016-08-23 15:33:32 +00:00
2017-01-18 00:52:48 +01:00
2017-05-29 22:46:23 +02:00
2017-09-09 09:17:36 +02:00
2017-08-09 13:10:23 -07:00
2016-04-22 17:11:20 +02:00
2017-09-29 08:29:15 +02:00
2017-12-19 18:32:47 +01:00
2017-09-14 18:14:19 +08:00
2018-01-04 16:34:30 +01:00
2016-07-13 13:17:24 +02:00
2017-08-31 20:14:35 +01:00
2017-04-25 15:00:59 -07:00
2017-08-27 23:53:42 +01:00
2017-08-27 23:53:42 +01:00
2016-08-02 21:42:43 +03:00
2017-04-08 23:28:03 -05:00
2017-07-01 10:06:10 +02:00
2018-01-04 16:34:31 +01:00
2017-03-12 08:38:24 +01:00
2017-08-06 14:50:15 +02:00
2017-03-08 00:25:15 +01:00
2017-11-14 12:25:41 +01:00
2017-09-12 13:59:36 +02:00
2017-08-30 01:21:10 +02:00
2016-11-29 17:32:21 +03:00
2016-06-18 02:08:07 +01:00
2017-11-24 16:52:37 +11:00
2016-09-07 23:52:21 +01:00
2017-09-23 15:37:28 +02:00
2017-07-31 12:47:37 +02:00
2016-11-24 22:28:02 +01:00
2017-11-13 00:09:32 +01:00
2017-11-13 00:09:32 +01:00
2016-07-17 17:15:23 +02:00
2016-07-12 13:31:31 +08:00
2017-05-27 17:42:48 +02:00
2017-02-17 00:11:03 +01:00
2016-10-19 14:15:42 +00:00
2017-03-01 16:48:07 -06:00
2018-01-04 16:34:32 +01:00
2017-11-04 12:45:59 +00:00
2017-09-24 11:42:00 +02:00
2017-06-25 20:17:20 -03:00
2017-09-01 11:22:28 -03:00
2017-10-28 10:29:17 +02:00
2017-10-02 17:06:22 +02:00
2017-11-09 11:58:13 +01:00
2016-11-24 22:28:03 +01:00
2016-08-04 11:03:28 +02:00
2016-11-20 16:36:52 +01:00
2017-08-01 08:36:38 +02:00
2017-08-24 21:20:03 +02:00
2017-01-11 18:25:10 +01:00
2016-09-28 12:33:46 +02:00
2017-02-19 19:11:00 +00:00
2017-08-28 00:54:42 +02:00
2017-05-16 10:43:32 -05:00
2017-12-19 17:17:20 +01:00