/lib/systemd/system/maas-proxy.service is in maas-proxy 2.4.0~beta2-6865-gec43e47e6-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [Unit]
Description=MAAS Proxy
Requires=network-online.target
After=network-online.target
ConditionPathExists=/var/lib/maas/maas-proxy.conf
[Service]
Type=forking
PIDFile=/run/squid.pid
Restart=always
ExecStartPre=/bin/mkdir -p /run/maas/proxy
ExecStartPre=/bin/sh -ec '\
. /usr/share/maas/maas-proxy-common.sh; \
pre_start'
ExecStart=/usr/sbin/squid -Y -f /var/lib/maas/maas-proxy.conf
ExecReload=/usr/sbin/squid -k reconfigure
[Install]
WantedBy=multi-user.target
|