summaryrefslogtreecommitdiff
path: root/google-daemon
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2013-11-06 17:41:19 -0500
committerRobert Schweikert <rjschwei@suse.com>2013-12-05 12:57:57 -0500
commit7b370596d74ad89d81d8b15e69097652d20e5b67 (patch)
tree09d188d99872ff57938d019f8f5a32ec40b1ea8b /google-daemon
parent5c9a9dcf4a3939f841a943b7806befb1825bea86 (diff)
downloadgoogle-compute-image-packages-7b370596d74ad89d81d8b15e69097652d20e5b67.tar.gz
- add systemd unit file for the accounts-manager daemon
- fix type on comment for address manager
Diffstat (limited to 'google-daemon')
-rw-r--r--google-daemon/usr/lib/systemd/system/google-accounts-manager.service14
-rw-r--r--google-daemon/usr/lib/systemd/system/google-address-manager.service2
2 files changed, 15 insertions, 1 deletions
diff --git a/google-daemon/usr/lib/systemd/system/google-accounts-manager.service b/google-daemon/usr/lib/systemd/system/google-accounts-manager.service
new file mode 100644
index 0000000..7808cf2
--- /dev/null
+++ b/google-daemon/usr/lib/systemd/system/google-accounts-manager.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Google Compute Engine User Accounts Manager Daemon
+After=network.target
+Before=sshd.service
+Requires=network.target
+
+[Service]
+ExecStart=/usr/share/google/google_daemon/manage_accounts.py --daemon
+ExecStop=/bin/kill -TERM $MAINPID
+PIDFile=/var/run/google_daemon.pid
+Type=simple
+
+[Install]
+WantedBy=multi-user.target
diff --git a/google-daemon/usr/lib/systemd/system/google-address-manager.service b/google-daemon/usr/lib/systemd/system/google-address-manager.service
index 64adf06..0fc55b1 100644
--- a/google-daemon/usr/lib/systemd/system/google-address-manager.service
+++ b/google-daemon/usr/lib/systemd/system/google-address-manager.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Google Compute Engine Address Manager Deamon
+Description=Google Compute Engine Address Manager Daemon
After=network.target
Requires=network.target