gitea.service
· 179 B · SYSTEMD
Исходник
[Unit]
Description=Gitea Service.
After=syslog.target
After=network.target
[Service]
User=gitea
ExecStart=/www/gitea/start-gitea-backend.sh
[Install]
WantedBy=multi-user.target
| 1 | [Unit] |
| 2 | Description=Gitea Service. |
| 3 | After=syslog.target |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | User=gitea |
| 8 | ExecStart=/www/gitea/start-gitea-backend.sh |
| 9 | |
| 10 | [Install] |
| 11 | WantedBy=multi-user.target |
| 12 |
mysql.service
· 270 B · SYSTEMD
Исходник
[Unit]
Description=MySQL Community Server
After=network.target syslog.target
[Service]
Type=forking
ExecStart=/etc/init.d/mysql start
ExecStop=/etc/init.d/mysql stop
ExecReload=/etc/init.d/mysql reload
Restart=no
PrivateTmp=false
[Install]
WantedBy=multi-user.target
| 1 | [Unit] |
| 2 | Description=MySQL Community Server |
| 3 | After=network.target syslog.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=forking |
| 7 | |
| 8 | ExecStart=/etc/init.d/mysql start |
| 9 | ExecStop=/etc/init.d/mysql stop |
| 10 | ExecReload=/etc/init.d/mysql reload |
| 11 | |
| 12 | Restart=no |
| 13 | PrivateTmp=false |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |
nginx.service
· 392 B · SYSTEMD
Исходник
[Unit]
Description=The NGINX HTTP and reverse proxy server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/usr/local/nginx/logs/nginx.pid
ExecStart=/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
ExecReload=/usr/local/nginx/sbin/nginx -s reload
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=false
[Install]
WantedBy=multi-user.target
| 1 | [Unit] |
| 2 | Description=The NGINX HTTP and reverse proxy server |
| 3 | After=network.target remote-fs.target nss-lookup.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=forking |
| 7 | PIDFile=/usr/local/nginx/logs/nginx.pid |
| 8 | ExecStart=/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf |
| 9 | ExecReload=/usr/local/nginx/sbin/nginx -s reload |
| 10 | ExecStop=/bin/kill -s QUIT $MAINPID |
| 11 | PrivateTmp=false |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |
php-fpm.service
· 361 B · SYSTEMD
Исходник
[Unit]
Description=The PHP FastCGI Process Manager
After=network.target
[Service]
Type=simple
PIDFile=/usr/local/php/var/run/php-fpm.pid
ExecStart=/usr/local/php/sbin/php-fpm --nodaemonize --fpm-config /usr/local/php/etc/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=false
[Install]
WantedBy=multi-user.target
| 1 | [Unit] |
| 2 | Description=The PHP FastCGI Process Manager |
| 3 | After=network.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=simple |
| 7 | PIDFile=/usr/local/php/var/run/php-fpm.pid |
| 8 | ExecStart=/usr/local/php/sbin/php-fpm --nodaemonize --fpm-config /usr/local/php/etc/php-fpm.conf |
| 9 | ExecReload=/bin/kill -USR2 $MAINPID |
| 10 | ExecStop=/bin/kill -s QUIT $MAINPID |
| 11 | PrivateTmp=false |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |
vsserver.service
· 179 B · SYSTEMD
Исходник
[Unit]
Description=VerySync Server.
After=syslog.target
After=network.target
[Service]
User=root
ExecStart=/www/verysync/vsserver.sh start
[Install]
WantedBy=multi-user.target
| 1 | [Unit] |
| 2 | Description=VerySync Server. |
| 3 | After=syslog.target |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | User=root |
| 8 | ExecStart=/www/verysync/vsserver.sh start |
| 9 | |
| 10 | [Install] |
| 11 | WantedBy=multi-user.target |
| 12 | |
| 13 |