mirror of
https://github.com/NotAShelf/systemyml.git
synced 2024-11-22 21:31:09 +00:00
17 lines
419 B
YAML
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
|