123456789101112131415161718192021222324 |
- [Unit]
- Description=My Service
- Documentation=https://example.com/docs/my-service.html
- [Service]
- Type=simple
- ExecStart=/bin/gdb
- WorkingDirectory=/home/heyicong/
- User=myuser
- Group=mygroup
- Environment=VAR1=value1
- Environment=VAR2=value2
- Restart=always
- RestartSec=1s
- TimeoutStartSec=10s
- TimeoutStopSec=5s
- [Install]
|