ge
Build and publish Jiaowu packages and container image / Test, package and publish (push) Successful in 29m11s
Build and publish Jiaowu packages and container image / Test, package and publish (push) Successful in 29m11s
xiufu
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[Unit]
|
||||
Description=Jiaowu Academic Affairs System
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=jiaowu
|
||||
Group=jiaowu
|
||||
WorkingDirectory=/opt/jiaowu
|
||||
ExecStart=/opt/jiaowu/Jiaowu.Api
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
TimeoutStopSec=30s
|
||||
SyslogIdentifier=jiaowu
|
||||
|
||||
Environment=DOTNET_EnableDiagnostics=0
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
LockPersonality=true
|
||||
CapabilityBoundingSet=
|
||||
AmbientCapabilities=
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user