Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- #/etc/systemd/system
- #systemctl daemon-reload
- #systemctl status name.service
- #service name start||stop||status
- #Autostart on Boot: sudo systemctl enable name.service
- #
- [Unit]
- Description=SincronismoService
- After=network.target
- Requires=mysql.service apache2.service
- [Service]
- User=root
- Restart=always
- Type=simple
- ExecStart=/usr/bin/php /var/www/html/PHPNAME.php
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement