15 lines
373 B
Plaintext
15 lines
373 B
Plaintext
|
[Unit]
|
||
|
Description="meirong1 Service"
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
GuessMainPID=true
|
||
|
WorkingDirectory=/www/meirong1 //项目路径
|
||
|
StandardOutput=journal
|
||
|
StandardError=journal
|
||
|
ExecStart=/usr/bin/dotnet IdentityServer4.dll //启动指令
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|