/lib/systemd/system/maas-proxy.service is in maas-proxy 2.0.0~beta3+bzr4941-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 | [Unit]
Description=MAAS Proxy
Requires=network-online.target
After=network-online.target
ConditionPathExists=/var/lib/maas/maas-proxy.conf
[Service]
ExecStartPre=/bin/mkdir -p /run/maas/proxy
ExecStartPre=/bin/sh -ec '\
. /usr/share/maas/maas-proxy-common.sh; \
pre_start'
ExecStart=/usr/sbin/squid3 -N -f /var/lib/maas/maas-proxy.conf
ExecReload=/usr/sbin/squid3 -k reconfigure
[Install]
WantedBy=multi-user.target
|