17 lines
327 B
Plaintext
17 lines
327 B
Plaintext
[Unit]
|
|
Description=TFM aInventory Docker Stack
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=__WORKING_DIR__
|
|
ExecStart=__DOCKER_BIN__ compose up --build
|
|
ExecStop=__DOCKER_BIN__ compose down
|
|
Restart=always
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|