module
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
License: GPL-3.0
Opens a new window with license information.
README
¶
个人使用的GO小工具集
/etc/systemd/system/myservice.serivce
[Unit]
Description=my service description
After=network.target
[Service]
Type=forking
PIDFile=/run/myserivce.pid
ExecStartPre=/usr/bin/rm -f /run/myservice.pid
ExecStart=/path/to/my/app -flag
Restart=always
[Install]
WantedBy=multi-user.target
Directories
¶
Click to show internal directories.
Click to hide internal directories.