xref: /DragonReach/parse_test/test.service (revision 909e4d102ffeb8646e7346c10b007cb0861226a4)
1[Unit]
2Description=My Service
3Documentation=https://example.com/docs/my-service.html
4#After=/home/heyicong/DragonReach/parse_test/test1.service
5#OnFailure=/home/heyicong/DragonReach/parse_test/test1.service
6
7[Service]
8Type=simple
9ExecStart=/bin/gdb
10#ExecStartPos=/bin/echo start_pos
11#ExecStartPre=/bin/echo start_pre
12#ExecStopPost=/bin/echo stop_pos
13#ExecReload=/bin/echo reload
14WorkingDirectory=/home/heyicong/
15User=myuser
16Group=mygroup
17Environment=VAR1=value1
18Environment=VAR2=value2
19Restart=always
20RestartSec=1s
21TimeoutStartSec=10s
22TimeoutStopSec=5s
23[Install]
24#WantedBy=multi-user.target
25