CentOS7: 04-PhantomJS systemd Service Wrapper
- systemd makes simple services so much easier to deal with
Create phantomjs.service
touch /etc/systemd/system/phantomjs
[setup@c7 ~]$ cd /etc/systemd
[setup@c7 systemd]$ ls
bootchart.conf coredump.conf journald.conf logind.conf system system.conf user user.conf
[setup@c7 systemd]$ cd system
[setup@c7 system]$ sudo touch phantomjs.service
[sudo] password for setup: