Build and publish Jiaowu packages and container image / Test, package and publish (push) Successful in 29m11s
xiufu
35 lines
641 B
Desktop File
35 lines
641 B
Desktop File
[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
|