<commit_before>package service

import "fmt"

var fileName = fmt.Sprintf("/etc/init/%s.conf", servNameTest)

func createService() {
	fmt.Println(fileName)
	cmd := fmt.Sprintf("echo \"script\n  while : ; do sleep 1 ; done\nend script\" > %s", fileName)
	execCmd("sudo", "sh", "-c", cmd)
}

func removeService() {
	execCmd("sudo", "rm", fileName)
}
<commit_msg>Implementing systemd service go-spfc-test<commit_after>package service

import "fmt"

var fileName = fmt.Sprintf("/etc/init/%s.conf", servNameTest)

const goSpfcTestSystemd string = "[Unit] " +
	"Description=go-spfc-test " +
	" " +
	"[Service] " +
	"TimeoutStartSec=0 " +
	"ExecStart=/bin/sh -c 'while true; do echo Hello World; sleep 1; done' " +
	" " +
	"[Install] " +
	"WantedBy=multi-user.target "

func createService() {
	fmt.Println(fileName)
	cmd := fmt.Sprintf("echo \"script\n  while : ; do sleep 1 ; done\nend script\" > %s", fileName)
	execCmd("sudo", "sh", "-c", cmd)
}

func removeService() {
	execCmd("sudo", "rm", fileName)
}

{'fraction_non_alphanumeric': 0.185, 'fraction_numerical': 0.004, 'mean_word_length': 4.381720430107527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6399612', 'n_tokens_mistral': 374, 'n_tokens_neox': 372, 'n_words': 85}