diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-08-31 16:08:16 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-09-04 06:28:44 -0300 |
| commit | cbf01880cfff0549b27f9ad6da5d75cf71303cc2 (patch) | |
| tree | b41069d7ee6bd0b829ea115d4d76e7f1d4eaf2ce /gui/packages | |
| parent | 2eb364a5eca602784a493e3e03907755fbf2712c (diff) | |
| download | mullvadvpn-cbf01880cfff0549b27f9ad6da5d75cf71303cc2.tar.xz mullvadvpn-cbf01880cfff0549b27f9ad6da5d75cf71303cc2.zip | |
Only install config. files for one init system
Keep configuration for init systems in the resources directory, and have
the after-install and before-remove scripts configure the detected
installed init system.
Diffstat (limited to 'gui/packages')
| -rw-r--r-- | gui/packages/desktop/electron-builder.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gui/packages/desktop/electron-builder.yml b/gui/packages/desktop/electron-builder.yml index 229917455d..bc284d638f 100644 --- a/gui/packages/desktop/electron-builder.yml +++ b/gui/packages/desktop/electron-builder.yml @@ -109,22 +109,22 @@ linux: to: . - from: ../../../dist-assets/binaries/linux/openvpn to: . + - from: ../../../dist-assets/linux/mullvad-daemon.conf + to: . + - from: ../../../dist-assets/linux/mullvad-daemon.service + to: . deb: fpm: ["--before-remove", "../../../dist-assets/linux/before-remove.sh", - "--config-files", "/etc/systemd/system/mullvad-daemon.service", - "--config-files", "/etc/init/mullvad-daemon.conf", - "../../../dist-assets/linux/mullvad-daemon.service=/etc/systemd/system/", - "../../../dist-assets/linux/mullvad-daemon.conf=/etc/init/"] + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.service", + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf"] afterInstall: ../../../dist-assets/linux/after-install.sh afterRemove: ../../../dist-assets/linux/after-remove.sh rpm: fpm: ["--before-remove", "../../../dist-assets/linux/before-remove.sh", - "--config-files", "/etc/systemd/system/mullvad-daemon.service", - "--config-files", "/etc/init/mullvad-daemon.conf", - "../../../dist-assets/linux/mullvad-daemon.service=/etc/systemd/system/", - "../../../dist-assets/linux/mullvad-daemon.conf=/etc/init/"] + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.service", + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf"] afterInstall: ../../../dist-assets/linux/after-install.sh afterRemove: ../../../dist-assets/linux/after-remove.sh depends: |
