Files
sci-gui-agent-benchmark/desktop_env/server/osbench_server@.service
David Chang 587a89fa7f ver Mar13thv2
added a new service file with replacable arguments
2024-03-13 19:42:49 +08:00

17 lines
302 B
Desktop File

[Unit]
Description=OSBench Server
StartLimitIntervalSec=60
StartLimitBurst=4
After=network.target auditd.service
[Service]
ExecStart=/usr/bin/python3 /home/user/main.py
User=user
WorkingDirectory=/home/user
Restart=on-failure
RestartSec=1
Environment="DISPLAY=%i"
[Install]
WantedBy=graphical.target