xref: /DragonReach/parse_test/test1.service (revision b40b6b4d2f72c30a382f9f18740fa73d7fc90721)
1e5a8055aSGnoCiYeH[Unit]
2e5a8055aSGnoCiYeHDescription=My Service1
3e5a8055aSGnoCiYeHDocumentation=https://example.com/docs/my-service.html
4e5a8055aSGnoCiYeH#After=/home/heyicong/DragonReach/parse_test/test2.service
5e5a8055aSGnoCiYeH
6e5a8055aSGnoCiYeH[Service]
7e5a8055aSGnoCiYeHType=simple
817ae4661SGnoCiYeHExecStart=/bin/ls
9*b40b6b4dSGnoCiYeHWorkingDirectory=/home/heyicong
10e5a8055aSGnoCiYeHUser=myuser
11e5a8055aSGnoCiYeHGroup=mygroup
12e5a8055aSGnoCiYeHEnvironment=VAR1=value1
13e5a8055aSGnoCiYeHEnvironment=VAR2=value2
14e5a8055aSGnoCiYeHRestart=on-failure
15e5a8055aSGnoCiYeHRestartSec=5s
16e5a8055aSGnoCiYeHTimeoutStartSec=10s
17e5a8055aSGnoCiYeHTimeoutStopSec=10s
18e5a8055aSGnoCiYeH
19e5a8055aSGnoCiYeH[Install]
20e5a8055aSGnoCiYeH#WantedBy=multi-user.target