Dosyalar

.git-blame-ignore-revs dosyasındaki sürümler yok sayılıyor. Bunun yerine normal sorumlu görüntüsü için buraya tıklayın.

49 satır
1.2 KiB
Plaintext
Ham Kalıcı Bağlantı Normal Görünüm Geçmiş

2019-12-15 16:48:58 -06:00
# References:
# https://linuxconfig.org/how-to-create-systemd-service-unit-in-linux
# https://www.linux.com/tutorials/systemd-services-beyond-starting-and-stopping/
[Unit]
Description=Radeon Data Center Daemon (rdcd)
After=network.target
# Add any services that must be started before rdcd here
#After=
2019-12-15 16:48:58 -06:00
# Add any non-service units required by rdcd here
#Requires=
[Service]
EnvironmentFile=-/@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/@RDC@/conf/rdc_options.conf
2020-01-27 19:08:09 -06:00
User=rdc
Group=rdc
2019-12-15 16:48:58 -06:00
Type=simple
2020-01-27 19:08:09 -06:00
CapabilityBoundingSet=CAP_DAC_OVERRIDE
AmbientCapabilities=CAP_DAC_OVERRIDE
2019-12-15 16:48:58 -06:00
# If we need to start anything before rdcd, use this
# ExecStartPre=
2024-03-13 10:50:05 -07:00
# update-alternative has been run for rdcd and
# soft link will be available in usr/bin
2024-03-19 20:20:04 +00:00
ExecStart=rdcd $RDC_OPTS
2019-12-15 16:48:58 -06:00
# If we need to start anything after rdcd use this
# ExecStartPost=
# If we want to change the default time out for the ExecStop (90 sec),
# we can modify that time limit with TimeoutStopSec
# TimeoutStopSec=
# Note, we can have multiple ExecStop commands if necessary
ExecStop=/bin/kill -15 $MAINPID
#ExecReload=
#ExecStartPost=
#ExecStopPost=
2020-01-27 19:08:09 -06:00
# StandardOutput=journal
# StandardError=inherit
2019-12-15 16:48:58 -06:00
[Install]
WantedBy= multi-user.target