|
|
f870f91 |
|
|
|
f870f91 |
[Unit]
|
|
|
f870f91 |
Description=Condor Distributed High-Throughput-Computing
|
|
|
f870f91 |
After=syslog.target network.target
|
|
|
f870f91 |
Wants=network.target
|
|
|
f870f91 |
|
|
|
f870f91 |
[Service]
|
|
|
f870f91 |
EnvironmentFile=-/etc/sysconfig/condor
|
|
|
f870f91 |
ExecStart=/usr/sbin/condor_master -f
|
|
|
f870f91 |
ExecStop=/usr/sbin/condor_off -master
|
|
|
d06de85 |
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
f870f91 |
Restart=always
|
|
|
f870f91 |
RestartSec=5
|
|
|
f870f91 |
StandardOutput=syslog
|
|
|
f870f91 |
LimitNOFILE=16384
|
|
Timothy St. Clair |
0b88753 |
|
|
Timothy St. Clair |
0b88753 |
#######################################
|
|
Timothy St. Clair |
0b88753 |
# Note: Below are cgroup options
|
|
Timothy St. Clair |
0b88753 |
#######################################
|
|
Timothy St. Clair |
5b6e8d5 |
#Slice=condor
|
|
Timothy St. Clair |
0b88753 |
#CPUAccounting=true
|
|
Timothy St. Clair |
0b88753 |
#CPUShares=1024
|
|
Timothy St. Clair |
0b88753 |
|
|
Timothy St. Clair |
0b88753 |
#MemoryAccounting=true
|
|
Timothy St. Clair |
0b88753 |
#TBD: MemoryLimit=bytes, MemorySoftLimit=bytes
|
|
Timothy St. Clair |
0b88753 |
|
|
Timothy St. Clair |
0b88753 |
#BlockIOAccounting=true
|
|
Timothy St. Clair |
0b88753 |
#BlockIOWeight=??
|
|
Timothy St. Clair |
0b88753 |
#BlockIODeviceWeight=??
|
|
Timothy St. Clair |
0b88753 |
#TBD: BlockIOReadBandwidth=bytes, BlockIOWriteBandwidth=bytes
|
|
Timothy St. Clair |
0b88753 |
|
|
Timothy St. Clair |
0b88753 |
#DeviceAllow=
|
|
Timothy St. Clair |
0b88753 |
#DevicePolicy=auto|closed|strict
|
|
|
f870f91 |
|
|
|
f870f91 |
[Install]
|
|
|
f870f91 |
WantedBy=multi-user.target
|
|
|
f870f91 |
|