diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2016-09-20 15:39:15 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2016-09-20 17:37:29 +0200 |
commit | 0a58b89af7fafc04285a9b3bee43cd3c02864aba (patch) | |
tree | 3a7b65e9773b667bd313af6132b89bbe7d2d9090 /debian/apache2.service | |
parent | 1bef5ddabce451f9e738c7313eaa756770456252 (diff) | |
download | apache2-0a58b89af7fafc04285a9b3bee43cd3c02864aba.tar.gz |
Add systemd unit files. Closes: #798430
Partly based on former work of Timo Aaltonen <tjaalton@debian.org>.
Diffstat (limited to 'debian/apache2.service')
-rw-r--r-- | debian/apache2.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/apache2.service b/debian/apache2.service new file mode 100644 index 00000000..92a371a8 --- /dev/null +++ b/debian/apache2.service @@ -0,0 +1,14 @@ +[Unit] +Description=The Apache HTTP Server +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +ExecStart=/usr/sbin/apachectl start +ExecStop=/usr/sbin/apachectl stop +ExecReload=/usr/sbin/apachectl graceful +PrivateTmp=true +Restart=on-abort + +[Install] +WantedBy=multi-user.target |