dockertunnel.sevice

This commit is contained in:
2021-12-23 13:45:59 +01:00
commit bedf2bc71b
2 changed files with 23 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
[Unit]
Description=Maintain a tunnel with the docker host of the vps
[Service]
ExecStart=/usr/local/bin/dockertunnel.sh
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>sysctl</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>-c</string>
<string>/Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse; /usr/sbin/sysctl -w vfs.generic.osxfuse.tunables.allow_other=1</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>