Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit cac2539

Browse files
More initial dev
1 parent 2988318 commit cac2539

3 files changed

Lines changed: 560 additions & 66 deletions

File tree

example/nginx.service

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[Unit]
2+
Description=Nginx
3+
After=docker.service
4+
Requires=docker.service
5+
6+
[Service]
7+
ExecStart=/opt/bin/systemd-docker run --rm --name %N nginx
8+
Restart=always
9+
RestartSec=10s
10+
Type=notify
11+
NotifyAccess=all
12+
TimeoutStartSec=120
13+
TimeoutStopSec=15
14+
15+
[Install]
16+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)