20 lines
643 B
Django/Jinja
20 lines
643 B
Django/Jinja
[Unit]
|
|
Description={{ host.data.systemd['Description'] }}
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ host.data.systemd['User'] }}
|
|
Group={{ host.data.systemd['Group'] }}
|
|
EnvironmentFile={{ host.data.systemd['EnvironmentFile'] }}
|
|
WorkingDirectory={{ host.data.systemd['WorkingDirectory'] }}
|
|
RootDirectory={{ host.data.systemd['RootDirectory'] }}
|
|
ReadWritePaths={{ host.data.systemd['ReadWritePaths'] }}
|
|
BindPaths={{ host.data.systemd['BindPaths'] }}
|
|
BindReadOnlyPaths={{ host.data.systemd['BindReadOnlyPaths'] }}
|
|
ExecStart={{ host.data.systemd['ExecStart'] }}
|
|
KillSignal=SIGQUIT
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|