Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks
but has large files...
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
469 B
17 lines
469 B
[Unit] |
|
Description=Munge auth daemon |
|
After=docker.service |
|
Requires=docker.service |
|
|
|
[Service] |
|
TimeoutStartSec=0 |
|
Restart=always |
|
ExecStartPre=-/usr/bin/docker stop %n |
|
ExecStartPre=-/usr/bin/docker rm %n |
|
ExecStart=/usr/bin/docker run --name munge --rm --name %n \ |
|
--volume /srv/slurm/volumes/etc/munge:/etc/munge \ |
|
--volume /srv/slurm/volumes/etc/munge:/var/run/munge/ \ |
|
hpc/slurm /usr/sbin/munged -f -F |
|
|
|
[Install] |
|
WantedBy=multi-user.target
|
|
|