From d480a569dc7a2106f702404b4a943f70c504e82a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 1 Aug 2013 16:58:44 +0200 Subject: adapted new naming conventions for all the scripts. for our own systemd service files: use: service-file-name.service ex: /etc/systemd/system/setup-proxy.service ALL systemd services files need to be under /etc/systemd/system for our own scripts: use: tool-what_it_does ex: /opt/openslx/scripts/systemd-setup_proxy ALL our scripts under /opt/openslx/scripts --- .../modules/redsocks/data/etc/systemd/system/setup-proxy.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 remote/modules/redsocks/data/etc/systemd/system/setup-proxy.service (limited to 'remote/modules/redsocks/data/etc/systemd/system/setup-proxy.service') diff --git a/remote/modules/redsocks/data/etc/systemd/system/setup-proxy.service b/remote/modules/redsocks/data/etc/systemd/system/setup-proxy.service new file mode 100644 index 00000000..54052425 --- /dev/null +++ b/remote/modules/redsocks/data/etc/systemd/system/setup-proxy.service @@ -0,0 +1,9 @@ +[Unit] +Description=Proxy setup detection +Before=shutdown.target +DefaultDependencies=no + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-setup_proxy +RemainAfterExit=yes -- cgit v1.2.3-55-g7522