mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2025-07-27 15:16:09 +02:00
Add systemd service and timer to start this script every minute
This commit is contained in:
11
contrib/cc-slurm-sync.service
Normal file
11
contrib/cc-slurm-sync.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Sync slurm with ClusterCockpit
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/software/slurm/cc-slurm-sync
|
||||
ExecStart=/opt/software/slurm/cc-slurm-sync/slurm-clusercockpit-sync.py
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user