summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMickaël Canévet <mickael.canevet@camptocamp.com>2014-11-13 11:43:29 +0100
committerMickaël Canévet <mickael.canevet@camptocamp.com>2014-11-13 11:43:29 +0100
commitd9fdd463b27f7b7f805c861bed761b9a7b38f681 (patch)
tree75eb1c289e17138c418be9df0b8670262479d301 /README.md
parent69ede8ad9fc07791aea1aa25b3972b170b814b43 (diff)
Add README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5466acb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,22 @@
+Systemd
+=======
+
+[![Puppet Forge](http://img.shields.io/puppetforge/v/camptocamp/systemd.svg)](https://forge.puppetlabs.com/camptocamp/systemd)
+[![Build Status](https://travis-ci.org/camptocamp/puppet-systemd.png?branch=master)](https://travis-ci.org/camptocamp/puppet-systemd)
+
+Overview
+--------
+
+This module just declares an `Exec['systemctl-daemon-reload']` resource that you can use to refresh the daemon.
+
+```puppet
+include ::systemd
+file { '/usr/lib/systemd/system/foo.service':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => 'puppet:///modules/${module_name}/foo.service',
+} ~>
+Exec['systemctl-daemon-reload']
+`̀``