Skip to content

Instantly share code, notes, and snippets.

@roblayton roblayton/nginx.service
Last active Aug 29, 2015

Embed
What would you like to do?
An example NGiNX service for Systemd
[Unit]
Description=nginx
Requires=docker.service
After=docker.service
[Service]
ExecStart=/usr/bin/docker run --name mynginx -p 8080:80 nginx
[Install]
WantedBy=multi-user.target
[X-Fleet]
MachineOf=hello-01.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.