File: cloudsql-proxy-foo.service

package info (click to toggle)
cloudsql-proxy 1.33.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 900 kB
  • sloc: sh: 57; makefile: 25
file content (21 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# This file lives in /etc/systemd/system/cloudsql-proxy-foo.service
# and depends on /etc/init.d/cloudsql-proxy-foo to manage the proxy.
# This unit file ensures that the cloudsql-proxy will come up after
# networkmanager is functional.  Note that each distinct proxy
# credential requires its own unit file (you can have multiple
# connections that share credentials in the same invocation)
#

[Unit]
Description=cloudsql-proxy-foo
After=NetworkManager-wait-online.service
Requires=NetworkManager-wait-online.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/init.d/cloudsql-proxy-foo start

[Install]
WantedBy=multi-user.target