Last active
August 9, 2018 22:21
-
-
Save saidsef/355c8d13984ed34a62b50e510b4f9ab2 to your computer and use it in GitHub Desktop.
Swarm Service Manager
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] | |
| # Location: /usr/lib/systemd/system : systemctl enable swarm | |
| Description=swarm service manager | |
| Documentation=https://plugins.jenkins.io/swarm | |
| Wants=network-online.target | |
| After=network-online.target | |
| StartLimitIntervalSec=0 | |
| [Service] | |
| Type=simple | |
| Restart=always | |
| RestartSec=5 | |
| User=root | |
| ExecStart=/usr/bin/env bash /mnt/swarm/start.sh | |
| StandardOutput=journal | |
| StandardError=inherit | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment