13 lines
265 B
Plaintext
13 lines
265 B
Plaintext
|
[Unit]
|
||
|
Description=Database container
|
||
|
Requires=docker.service
|
||
|
After=docker.service
|
||
|
|
||
|
[Service]
|
||
|
User={{ sonicadmin_user }}
|
||
|
ExecStart=/usr/bin/{{docker_container_name}}.sh start
|
||
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|