diff --git a/ansible/ippidb-web.service b/ansible/ippidb-web.service new file mode 100644 index 0000000000000000000000000000000000000000..a731fa72e3ee913946131160987aca238c030395 --- /dev/null +++ b/ansible/ippidb-web.service @@ -0,0 +1,12 @@ +[Unit] +Description=IPPIDB Web Server +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/etc/ippidb-80/apachectl start +ExecStop=/etc/ippidb-80/apachectl stop + +[Install] +WantedBy=multi-user.target