systemyml/services/test.yml
2023-09-28 12:59:13 +03:00

17 lines
419 B
YAML

my_service:
name: my_service
install:
WantedBy: multi-user.target
unit:
Description: Example service
After: network.target
Wants: network-online.target
Documentation: https://example.com/my-service-doc
service:
Type: simple
ExecStart: /usr/bin/my_service_executable arg1 arg2
Restart: always
User: my_user
Group: my_group
WorkingDirectory: /path/to/working/directory