Last active
April 19, 2021 16:54
-
-
Save notesbytom/e2ac772a891c6d5d698103339333391e to your computer and use it in GitHub Desktop.
SmartFile FileHub systemd unit file for systemctl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set filetype=dosini: | |
# Custom systemd / systemctl unit file for SmartFile FileHub veridocker | |
# /etc/systemd/system/veridocker.service | |
# After adding or modifying this file run: | |
# systemctl daemon-reload | |
# To enable startup on boot: | |
# systemctl enable veridocker.service | |
# Starting or stopping the veridocker using systemctl | |
# systemctl start veridocker.service | |
# systemctl stop veridocker.service | |
[Unit] | |
Description=Veridocker_FileHub_Service_Manager | |
After=network.target data.mount | |
Requires=data.mount | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/veridocker -q -o start | |
ExecStop=/usr/bin/veridocker -q -o stop | |
ExecReload=/usr/bin/veridocker -q -o reload | |
RemainAfterExit=True | |
[Install] | |
WantedBy=default.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Start and Stop the SmartFile FileHub veridocker service(s) automatically when the system boots and shuts down.