Skip to content

Instantly share code, notes, and snippets.

@nook-ru
Created March 31, 2020 14:51
Show Gist options
  • Save nook-ru/fd07a40c51f5c0fe2609e9c1c147c3f3 to your computer and use it in GitHub Desktop.
Save nook-ru/fd07a40c51f5c0fe2609e9c1c147c3f3 to your computer and use it in GitHub Desktop.
systemd unit for starting FreedomBen / dory docker proxy
# /etc/systemd/system/dory.service
# https://github.com/FreedomBen/dory
[Unit]
Description=Dory service
Requires=docker.service
After=docker.service
[Service]
User=root
Restart=always
WorkingDirectory=/root
ExecStart=/usr/local/bin/dory up
ExecStop=/usr/local/bin/dory down
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment