Created
November 21, 2019 04:09
-
-
Save zclongpop123/f31ac77fdadd98d8a4dc2b0468ca0e51 to your computer and use it in GitHub Desktop.
This file contains 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
# Centos 7 | |
# 存放位置 /usr/lib/systemd/system | |
# 开启 systemctl start deadlinewebservice | |
# 关闭 systemctl stop deadlinewebservice | |
# 开机启动 systemctl enable deadlinewebservice | |
# 取消开机启动 system disable deadlinewebservice | |
[Unit] | |
Description=Deadline Web Service | |
Wants=network-online.target | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/opt/Thinkbox/Deadline10/bin/deadlinewebservice | |
# Suppress stderr to eliminate duplicated messages in syslog. NM calls openlog() | |
# with LOG_PERROR when run in foreground. But systemd redirects stderr to | |
# syslog by default, which results in logging each message twice. | |
StandardOutput=syslog | |
StandardError=null | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment