xref: /DragonReach/parse_test/test.service (revision b40b6b4d2f72c30a382f9f18740fa73d7fc90721)
14e851715SGnoCiYeH[Unit]
2f206f17aSGnoCiYeHDescription=My Service
3f206f17aSGnoCiYeHDocumentation=https://example.com/docs/my-service.html
4e5a8055aSGnoCiYeH#After=/home/heyicong/DragonReach/parse_test/test1.service
5*b40b6b4dSGnoCiYeH#OnFailure=/home/heyicong/DragonReach/parse_test/test1.service
64e851715SGnoCiYeH
74e851715SGnoCiYeH[Service]
8f206f17aSGnoCiYeHType=simple
917ae4661SGnoCiYeHExecStart=/bin/gdb
10*b40b6b4dSGnoCiYeH#ExecStartPos=/bin/echo start_pos
11*b40b6b4dSGnoCiYeH#ExecStartPre=/bin/echo start_pre
12*b40b6b4dSGnoCiYeH#ExecStopPost=/bin/echo stop_pos
13*b40b6b4dSGnoCiYeH#ExecReload=/bin/echo reload
14f206f17aSGnoCiYeHWorkingDirectory=/home/heyicong/
15f206f17aSGnoCiYeHUser=myuser
16f206f17aSGnoCiYeHGroup=mygroup
17f206f17aSGnoCiYeHEnvironment=VAR1=value1
18f206f17aSGnoCiYeHEnvironment=VAR2=value2
19*b40b6b4dSGnoCiYeHRestart=always
20*b40b6b4dSGnoCiYeHRestartSec=1s
21f206f17aSGnoCiYeHTimeoutStartSec=10s
22*b40b6b4dSGnoCiYeHTimeoutStopSec=5s
234e851715SGnoCiYeH[Install]
24f206f17aSGnoCiYeH#WantedBy=multi-user.target
25