xref: /DragonReach/parse_test/test2.service (revision 17ae4661898f9f5bdb95f865ac453f4508b9e876)
1e5a8055aSGnoCiYeH[Unit]
2e5a8055aSGnoCiYeHDescription=My Service2
3e5a8055aSGnoCiYeHDocumentation=https://example.com/docs/my-service.html
4e5a8055aSGnoCiYeH#After=/home/heyicong/DragonReach/parse_test/test.service
5e5a8055aSGnoCiYeH
6e5a8055aSGnoCiYeH[Service]
7e5a8055aSGnoCiYeHType=simple
8*17ae4661SGnoCiYeHExecStart=/bin/ls
9e5a8055aSGnoCiYeHWorkingDirectory=/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