Paul Lecuq
1b59cdacdd
- bl module updated - borg state updated - config state updated - netbox state updated - nginx state updated - misc updates
17 lines
545 B
Django/Jinja
17 lines
545 B
Django/Jinja
{%- from "go-aptproxy/map.jinja" import goaptproxy with context -%}
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
[Unit]
|
|
Description=go-aptproxy
|
|
Documentation=https://git.paulbsd.com/paulbsd/go-aptproxy
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart={{ goaptproxy.install_dir }}/go-aptproxy/go-aptproxy -directory {{ goaptproxy.working_dir }} -port {{ goaptproxy.port }}
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
RestartForceExitStatus=SIGPIPE
|
|
KillMode=control-group
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |