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
[Unit] | |
Description=Subversion Repo Service | |
After=network.target | |
[Service] | |
Type=forking | |
PIDFile=/opt/svnrepo/repo-mirror/svn.pid | |
ExecStart=/usr/bin/svnserve -d -r /opt/svnrepo/repo-mirror --pid-file /opt/svnrepo/repo-mirror/svn.pid | |
ExecStop=/bin/kill -s QUIT $MAINPID | |
ExecReload=/bin/kill -s HUP $MAINPID |
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
[Unit] | |
Description=Sonatype-Work Nexus 2 Service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/sonatype-work/nexus2/bin/nexus start | |
ExecStop=/opt/sonatype-work/nexus2/bin/nexus stop | |
ExecReload=/opt/sonatype-work/nexus2/bin/nexus restart | |
User=admin |
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
[Unit] | |
Description=The NGINX HTTP and reverse proxy server | |
After=syslog.target network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=forking | |
PIDFile=/usr/local/nginx/logs/nginx.pid | |
ExecStartPre=/usr/local/nginx/sbin/nginx -t | |
ExecStart=/usr/local/nginx/sbin/nginx | |
ExecReload=/bin/kill -s HUP $MAINPID |
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
## Global Configuration | |
user nginx; | |
worker_processes 8; | |
events { | |
worker_connections 4096; | |
} | |
error_log /var/log/nginx/nginx.error.log error; | |
pid /usr/local/nginx/logs/nginx.pid; |
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
# supervisord service for systemd (CentOS 7.0+) | |
# by ET-CS (https://github.com/ET-CS) | |
[Unit] | |
Description=Supervisor daemon | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/supervisord -c /etc/supervisord-supervisor.conf | |
ExecStop=/usr/bin/supervisorctl -c /etc/supervisord-supervisor.conf shutdown |
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
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/dockerd $DOCKER_OPTS |
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
{ | |
"registry-mirrors": [ "http://a29bfa98.m.daocloud.io" ], | |
"storage-driver": "overlay2", | |
"tlsverify": true, | |
"tlscert": "/home/admin/.docker/client.cer", | |
"tlskey": "/home/admin/.docker/client.key", | |
"dns": [ "119.29.29.29", "9.9.9.9" ], | |
"dns-search": [ "demo.com" ] | |
} |
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
[Unit] | |
Description=ActiveMQ service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/var/activemq/bin/activemq start | |
ExecStop=/var/activemq/bin/activemq stop | |
User=root | |
Group=root |
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
java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar |
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
apply plugin: 'com.android.application' | |
//apply plugin: 'com.jakewharton.butterknife' | |
//apply plugin: 'org.greenrobot.greendao' | |
//greendao { | |
// schemaVersion 1 | |
// daoPackage 'com.demo.software.app.greendao.gen' | |
// targetGenDir 'src/main/java' | |
//} |
OlderNewer