Created
March 3, 2025 00:14
-
-
Save djamp42/d4a791b7a488af4d2825edfd61627886 to your computer and use it in GitHub Desktop.
Graylog docker compose systemd unit file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Graylog Docker Compose Service | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
WorkingDirectory=/home/dockeradmin/graylog-docker | |
ExecStart=/usr/bin/docker compose up -d | |
ExecStop=/usr/bin/docker compose down | |
TimeoutStartSec=0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment